]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Adds Grizzly migration revision
authorMark McClain <mark.mcclain@dreamhost.com>
Tue, 12 Mar 2013 18:49:03 +0000 (14:49 -0400)
committerMark McClain <mark.mcclain@dreamhost.com>
Tue, 12 Mar 2013 19:01:58 +0000 (15:01 -0400)
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

quantum/db/migration/alembic_migrations/versions/grizzly_release.py [new file with mode: 0644]

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 (file)
index 0000000..21f9a00
--- /dev/null
@@ -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