summaryrefslogtreecommitdiff
path: root/nova/db/main/legacy_migrations/manage.py
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2023-02-01 16:42:53 +0000
committerStephen Finucane <stephenfin@redhat.com>2023-02-01 17:00:03 +0000
commitfd39e4b4be9ddb18b96d5f8086955b91232f25e9 (patch)
tree9a6acba53ed307b1dcfa4f3cd219c4b2d892c662 /nova/db/main/legacy_migrations/manage.py
parentf01a90ccb85ab254236f84009cd432d03ce12ebb (diff)
downloadnova-fd39e4b4be9ddb18b96d5f8086955b91232f25e9.tar.gz
db: Remove legacy migrations
sqlalchemy-migrate does not (and will not) support sqlalchemy 2.0. We need to drop these migrations to ensure we can upgrade our sqlalchemy version. Change-Id: I7756e393b78296fb8dbf3ca69c759d75b816376d Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/db/main/legacy_migrations/manage.py')
-rw-r--r--nova/db/main/legacy_migrations/manage.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/nova/db/main/legacy_migrations/manage.py b/nova/db/main/legacy_migrations/manage.py
deleted file mode 100644
index 6c2b3842ba..0000000000
--- a/nova/db/main/legacy_migrations/manage.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-# Copyright 2012 OpenStack Foundation
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-
-from migrate.versioning.shell import main
-
-
-if __name__ == '__main__':
- main(debug='False', repository='.')