<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.3">
</HEAD>
<BODY>
Hi,<BR>
<BR>
I've updated the rls_watchers table number and pushed the change into git.<BR>
<BR>
Peter<BR>
<BR>
On Sun, 2012-04-22 at 11:52 +0300, Juha Heinanen wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Peter Dunkley writes:

&gt; The version of rls_watchers had already been increased in master
&gt; 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
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>