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

_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to