mirror of
https://github.com/simple-login/app.git
synced 2024-11-16 08:58:30 +01:00
32 lines
899 B
Python
32 lines
899 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: d608b8e48082
|
||
|
Revises: 06a9a7133445
|
||
|
Create Date: 2024-07-05 16:56:04.220173
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = 'd608b8e48082'
|
||
|
down_revision = '06a9a7133445'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('deleted_alias', sa.Column('reason', sa.Integer(), default=0, server_default='0', nullable=False))
|
||
|
op.add_column('domain_deleted_alias', sa.Column('reason', sa.Integer(), default=0, server_default='0', nullable=False))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('domain_deleted_alias', 'reason')
|
||
|
op.drop_column('deleted_alias', 'reason')
|
||
|
# ### end Alembic commands ###
|