From 4b258aa4ac12e69d3cb8dafb0d4548a2304ad948 Mon Sep 17 00:00:00 2001 From: Mark McClain Date: Tue, 12 Mar 2013 14:49:03 -0400 Subject: [PATCH] Adds Grizzly migration revision fixes bug 1154255 This change adds a no-op migration called grizzly. Deployers can reference the symbolic name when updating their databases from Folsom. Change-Id: I442586f1efdb52b7ec8b318077ace52f570b3ae4 --- .../versions/grizzly_release.py | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 quantum/db/migration/alembic_migrations/versions/grizzly_release.py diff --git a/quantum/db/migration/alembic_migrations/versions/grizzly_release.py b/quantum/db/migration/alembic_migrations/versions/grizzly_release.py new file mode 100644 index 000000000..21f9a00e7 --- /dev/null +++ b/quantum/db/migration/alembic_migrations/versions/grizzly_release.py @@ -0,0 +1,47 @@ +# vim: tabstop=4 shiftwidth=4 softtabstop=4 +# +# Copyright 2013 OpenStack LLC +# +# 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. +# + +"""grizzly + +Revision ID: grizzly +Revises: 1341ed32cc1e +Create Date: 2013-03-12 23:59:59.000000 + +""" + +# revision identifiers, used by Alembic. +revision = 'grizzly' +down_revision = '1341ed32cc1e' + +# Change to ['*'] if this migration applies to all plugins + +migration_for_plugins = ['*'] + +from alembic import op +import sqlalchemy as sa + +from quantum.db import migration + + +def upgrade(active_plugin=None, options=None): + """A no-op migration for marking the Grizzly release.""" + pass + + +def downgrade(active_plugin=None, options=None): + """A no-op migration for marking the Grizzly release.""" + pass -- 2.45.2