[OE-3856] table versioning migration bugfix