[OE-4625] migrate version tables