mirror of
https://github.com/simple-login/app.git
synced 2024-11-13 23:51:13 +01:00
30 lines
739 B
Python
30 lines
739 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 01e2997e90d3
|
||
|
Revises: 893c0d18475f
|
||
|
Create Date: 2023-04-19 16:09:11.851588
|
||
|
|
||
|
"""
|
||
|
import sqlalchemy_utils
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '01e2997e90d3'
|
||
|
down_revision = '893c0d18475f'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('public_domain', sa.Column('use_as_reverse_alias', sa.Boolean(), server_default='0', nullable=False))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('public_domain', 'use_as_reverse_alias')
|
||
|
# ### end Alembic commands ###
|