Fix typos in neutron/db/migration
Change-Id: I1ec582fbbf910316d39b8acf08a46f41806ba5f5
This commit is contained in:
parent
a3a1b5a5db
commit
8a5bde690e
@ -12,7 +12,7 @@ script_location = %(here)s/alembic
|
|||||||
# revision_environment = false
|
# revision_environment = false
|
||||||
|
|
||||||
# default to an empty string because the Neutron migration cli will
|
# default to an empty string because the Neutron migration cli will
|
||||||
# extract the correct value and set it programatically before alemic is fully
|
# extract the correct value and set it programmatically before alembic is fully
|
||||||
# invoked.
|
# invoked.
|
||||||
sqlalchemy.url =
|
sqlalchemy.url =
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ import sqlalchemy as sa
|
|||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
# Workaround for Alemic bug #89
|
# Workaround for Alembic bug #89
|
||||||
# https://bitbucket.org/zzzeek/alembic/issue/89
|
# https://bitbucket.org/zzzeek/alembic/issue/89
|
||||||
context = op.get_context()
|
context = op.get_context()
|
||||||
if context.bind.dialect.name == 'postgresql':
|
if context.bind.dialect.name == 'postgresql':
|
||||||
|
Loading…
Reference in New Issue
Block a user