Feature #2743: onedb keeps 3 different versions

1 the code version
2 the replicated (master) DB tables version
3 the slave (local) DB tables version