Move sync_schemas to syncdb and migrate_schemas to migrate. Fix migrations after schema_migration