[sr-dev] git:master: lib/srdb1/schema, utils/kamctl: Updated DB schemas for presence and RLS
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Sun Apr 22 11:19:06 CEST 2012
OK. I will do it some time early next week when I am back in the office.
Peter
On 22 Apr 2012, at 09:52, Juha Heinanen <jh at tutpro.com> wrote:
> Peter Dunkley writes:
>
>> The version of rls_watchers had already been increased in master
>> within the past couple of weeks. Does it need to be increased again?
>
> peter,
>
> if someone updates tables only once after a new version of sip router
> has been released, then one update of table version numbers is
> ok.
>
> i have been continuously testing master and rls_watchers version number
> was increased when updated field was added to it. then two new fields
> were added by this patch without increasing version number. that makes
> my upgrade script more complex, because now it does not suffice that it
> check table version number to find out if upgrade needs to be done. it
> also needs to check if certain fields already exist in the table. for
> this reason i would prefer that also during development phase table
> version numbers are increased each time a change is made.
>
> -- juha
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
More information about the sr-dev
mailing list