mirror of
https://github.com/simple-login/app.git
synced 2024-11-14 08:01:13 +01:00
aeed62e95b
- remove can_use_multiple_mailbox col - remove full_mailbox col
31 lines
947 B
Python
31 lines
947 B
Python
"""empty message
|
|
|
|
Revision ID: 7eef64ffb398
|
|
Revises: 5f191273d067
|
|
Create Date: 2020-02-29 00:02:34.372338
|
|
|
|
"""
|
|
import sqlalchemy_utils
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '7eef64ffb398'
|
|
down_revision = '5f191273d067'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('users', 'full_mailbox')
|
|
op.drop_column('users', 'can_use_multiple_mailbox')
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('users', sa.Column('can_use_multiple_mailbox', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
|
|
op.add_column('users', sa.Column('full_mailbox', sa.BOOLEAN(), server_default=sa.text('false'), autoincrement=False, nullable=False))
|
|
# ### end Alembic commands ###
|