DM-958 - Use schema to get the tableVersion.
Merge branch 'tickets/DM-958'