ced6e31d20
Add alembic migration branch for tap-as-a-service repo. Scripts for new tables owned by TaaS must now be added here. Also adds PEP8 changes to check migration branch points. Closes-Bug: #1583889 Change-Id: I6d03090c3c90bf7d05eddafa5ac7e502cc13cfe8
22 lines
415 B
Mako
22 lines
415 B
Mako
"""${message}
|
|
|
|
Revision ID: ${up_revision}
|
|
Revises: ${down_revision}
|
|
Create Date: ${create_date}
|
|
|
|
"""
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = ${repr(up_revision)}
|
|
down_revision = ${repr(down_revision)}
|
|
% if branch_labels:
|
|
branch_labels = ${repr(branch_labels)}
|
|
%endif
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
${imports if imports else ""}
|
|
|
|
def upgrade():
|
|
${upgrades if upgrades else "pass"}
|
|
|