yes just mix the new col into the statement that it tests with then that will make it fail and recreate the tables.
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