Assign Approvals a unique migration revision
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
"""v0.1.14 Approvals runtime.
|
"""v0.1.14 Approvals runtime.
|
||||||
|
|
||||||
Revision ID: 8b9c0d1e2f3a
|
Revision ID: a91c4e72b5d8
|
||||||
Revises: None
|
Revises: None
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@ from alembic import op
|
|||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
revision = "8b9c0d1e2f3a"
|
revision = "a91c4e72b5d8"
|
||||||
down_revision = None
|
down_revision = None
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = "4f2a9c8e7b6d"
|
depends_on = "4f2a9c8e7b6d"
|
||||||
@@ -34,7 +34,7 @@ class ApprovalsMigrationTests(unittest.TestCase):
|
|||||||
)
|
)
|
||||||
with engine.connect() as connection:
|
with engine.connect() as connection:
|
||||||
self.assertIn(
|
self.assertIn(
|
||||||
"8b9c0d1e2f3a",
|
"a91c4e72b5d8",
|
||||||
set(MigrationContext.configure(connection).get_current_heads()),
|
set(MigrationContext.configure(connection).get_current_heads()),
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user