mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 22:53:27 +08:00
30 lines
713 B
Python
30 lines
713 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 48b991e9de06
|
||
|
Revises: 517b79c56088
|
||
|
Create Date: 2021-04-01 12:31:10.306328
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '48b991e9de06'
|
||
|
down_revision = '517b79c56088'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('client_user', sa.Column('nonce', sa.Text(), server_default=sa.text('NULL'), nullable=True))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('client_user', 'nonce')
|
||
|
# ### end Alembic commands ###
|