Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CoNekT/migrations/script.py.mako
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
24 lines (17 sloc)
494 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""${message} | |
Revision ID: ${up_revision} | |
Revises: ${down_revision | comma,n} | |
Create Date: ${create_date} | |
""" | |
from alembic import op | |
import sqlalchemy as sa | |
${imports if imports else ""} | |
# revision identifiers, used by Alembic. | |
revision = ${repr(up_revision)} | |
down_revision = ${repr(down_revision)} | |
branch_labels = ${repr(branch_labels)} | |
depends_on = ${repr(depends_on)} | |
def upgrade(): | |
${upgrades if upgrades else "pass"} | |
def downgrade(): | |
${downgrades if downgrades else "pass"} |