db: Move main DB migrations

We place these in a 'legacy_migrations' directory, as we will soon be
adding alembic-based migrations in a 'migration' directory.

Change-Id: Ib927e4c48f59a467a913875111ffbf64ffe0de90
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2021-02-13 17:04:31 +00:00
parent 4bbea58cbb
commit bcf225daf4
31 changed files with 14 additions and 9 deletions

View File

@@ -176,7 +176,7 @@ Schema Migrations
''''''''''''''''''
Schema migrations are defined in
``nova/db/sqlalchemy/migrate_repo/versions`` and in
``nova/db/main/legacy_migrations/versions`` and in
``nova/db/sqlalchemy/api_migrations/migrate_repo/versions``. They are
the routines that transform our database structure, which should be
additive and able to be applied to a running system before service