1 Tip, 1 question
Neal Campbell
nealk3nc at gmail.com
Thu Jul 17 11:02:40 CDT 2008
I definitely will use this property to tell if the existing version is
out of date, thanks on that suggestion!
Neal
On Thu, Jul 17, 2008 at 12:00 PM, Ivan Smahin
<ivan_smahin at paradigmasoft.com> wrote:
> Hello Neal,
>
> Thursday, July 17, 2008, 6:33:21 PM, you wrote:
>
>
>> Now the question:
>> In dealing with changes to table definitions that occur over time (for
>> instance to support new features), what is the preferred way to
>> migrate old data to new? In my programs where I use XML preference
>> files, for instance, I validate that all of the xml tags are present
>> and add those on the fly if not. Is that how people do it with
>> Valentina?
>
> The database can be "versioned" with SchemaVersion property.
> See "Schema Version" database property in VStudio.
>
> It is available from any Valentina ADK.
>
> So it could be something like
>
> if( db.SchemaVersion == 1 )
> {
> // Do something for upgrade db structure
> db.SchemaVersion = 2;
> }
>
>
>
>
> --
> Best regards,
> Ivan Smahin
> Senior Software Engineer
> Paradigma Software, Inc
> Valentina - The Ultra-Fast Database
> http://www.valentina-db.com
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
--
Neal Campbell
Abroham Neal Software
Programming Services for Windows, OS X and Linux
(540) 242 0911
---------------------------------------------------------------------
Try Spot for OS X, the intelligent DXCluster Client at
www.abrohamnealsoftware.com - introduction priced at $10.99
-------------------------------------------------
For a great dog book, visit www.abrohamneal.com
-------------------------------------------------
See the FlexRadio Systems Flex-5000a in
action at www.flex-videos.com
More information about the Valentina
mailing list