yes just mix the new col into the statement that it tests with then that will make it fail and recreate the tables.


On Wed, Dec 9, 2009 at 1:36 PM, Michael Jerris <mike@jerris.com> wrote:
There are certainly things in there to create the tables right if they have changed. grep for test_reactive

Mike

On Dec 9, 2009, at 1:56 PM, Matteo wrote:

> Hi,
>
> ----- "Anthony Minessale" <anthony.minessale@gmail.com> ha scritto:
>> I'm open to the idea as long as the patch properly deals with the new
>> col to make it upgrade itself.
>
> I've checked mod sofia, and no table updates occur right now.
>
> What do you think can be the best approach ?
> Write a test sql in sofia_glue_init_sql and if failed alter
> the table with the new col ?
>
> of course the create will have the new col by default.
>
> is this the right way to go ?
>
> thanks,
> mat
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev@lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org


_______________________________________________
FreeSWITCH-dev mailing list
FreeSWITCH-dev@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400