mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 07:13:18 +08:00
fix migration
This commit is contained in:
parent
3ca5b9628a
commit
0848241620
1 changed files with 8 additions and 7 deletions
|
@ -1,24 +1,25 @@
|
|||
"""alias generator scheme
|
||||
"""empty message
|
||||
|
||||
Revision ID: 8f53e718c79a
|
||||
Revises: 9e1b06b9df13
|
||||
Create Date: 2019-12-25 21:21:27.573197
|
||||
Revision ID: e409f6214b2b
|
||||
Revises: d4e4488a0032
|
||||
Create Date: 2019-12-29 10:29:44.979846
|
||||
|
||||
"""
|
||||
import sqlalchemy_utils
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '8f53e718c79a'
|
||||
down_revision = '9e1b06b9df13'
|
||||
revision = 'e409f6214b2b'
|
||||
down_revision = 'd4e4488a0032'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('users', sa.Column('alias_generator', sa.Integer(), server_default="1", nullable=False))
|
||||
op.add_column('users', sa.Column('alias_generator', sa.Integer(), server_default='1', nullable=False))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
Loading…
Reference in a new issue