Update make template for revision making.

This commit is contained in:
Alexis Lahouze 2016-06-17 09:51:23 +02:00
parent 7d1d9bbcc8
commit 1a9363b723
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
"""${message}
Revision ID: ${up_revision}
Revises: ${down_revision}
Revises: ${down_revision | comma,n}
Create Date: ${create_date}
"""
@ -9,6 +9,8 @@ Create Date: ${create_date}
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
branch_labels = ${repr(branch_labels)}
depends_on = ${repr(depends_on)}
from alembic import op
import sqlalchemy as sa