Updating the Schema

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jun 25 08:45:33 CDT 2004


On 6/25/04 1:54 AM, "Juergen Schreck" <lists at innernine.com> wrote:

>>> 3) Do I have to increment/change the Schemaversion by resetting the
>>> property manually or does ValentinaKernel update the schemaversion
>>> when
>>> I create fields dynamically?
>> 
>> If you have already users and they work with your db,
>> Then yes it is recommended.
> 
> That is the case. Need backward compat. Thanks.

Then you need do it correctly.

    db.open()

    check that current shema version is 1

        then change what you need
        set schema version = 2

    close db

    open it again 


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list