[OpenSER-Devel] SF.net SVN: openser: [2739] trunk

Anca Vamanu anca at voice-system.ro
Wed Sep 12 17:37:08 CEST 2007


Juha Heinanen wrote:
> Anca Vamanu writes:
>
>  > I have only removed some unnecessary keys in active_watcher table... I 
>  > don't think I have to increment the version? Do I?
>
> anca,
>
> well, i have an upgrade script that i update each time there is a change
> in openser tables.  i did it because i have several hosts running trunk
> version and tables are changing frequently.  the script figures out
> based on table version number if it needs to update a table definition.
> if version number stays the same, it means that the script does not
> remove those extra keys from active_watchers table.
>
> -- juha
>
>   
I know that it is a way to detect a change. However, I was not sure when 
should the version be increased: at any alteration or only when the 
structure changes.
But it is probably best if done in the first case, so I will increase it.

Anca



More information about the Devel mailing list