mirror of
https://github.com/simple-login/app.git
synced 2025-02-23 23:34:05 +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
|
Revision ID: e409f6214b2b
|
||||||
Revises: 9e1b06b9df13
|
Revises: d4e4488a0032
|
||||||
Create Date: 2019-12-25 21:21:27.573197
|
Create Date: 2019-12-29 10:29:44.979846
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import sqlalchemy_utils
|
import sqlalchemy_utils
|
||||||
from alembic import op
|
from alembic import op
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
|
|
||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = '8f53e718c79a'
|
revision = 'e409f6214b2b'
|
||||||
down_revision = '9e1b06b9df13'
|
down_revision = 'd4e4488a0032'
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
|
||||||
def upgrade():
|
def upgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### 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 ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue