Removed foreign key dependency from version-transaction tables