[sr-dev] git:master: lib/srdb1/schema, utils/kamctl: Updated DB schemas for presence and RLS

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon Apr 23 12:59:40 CEST 2012


Hi,

I've updated the rls_watchers table number and pushed the change into
git.

Peter

On Sun, 2012-04-22 at 11:52 +0300, Juha Heinanen 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


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120423/e7a6af4b/attachment.htm>


More information about the sr-dev mailing list