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

Juha Heinanen jh at tutpro.com
Sun Apr 22 10:52:11 CEST 2012


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



More information about the sr-dev mailing list