Update the database schema versioning to support gradual migration away from legacy tables.