mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 01:40:38 +01:00
30 lines
749 B
Python
30 lines
749 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 1919f1859215
|
||
|
Revises: 0af2c2e286a7
|
||
|
Create Date: 2020-12-19 16:15:31.608535
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '1919f1859215'
|
||
|
down_revision = '0af2c2e286a7'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('users', 'can_use_coinbase')
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('users', sa.Column('can_use_coinbase', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
|
||
|
# ### end Alembic commands ###
|