app/migrations/versions/2020_123114_7c0dbd378cdb_.py

28 lines
599 B
Python
Raw Normal View History

"""empty message
2020-12-31 21:46:38 +08:00
Revision ID: 7c0dbd378cdb
Revises: f66ca777f409
2020-12-31 21:46:38 +08:00
Create Date: 2020-12-31 14:46:17.781348
"""
import sqlalchemy_utils
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
2020-12-31 21:46:38 +08:00
revision = '7c0dbd378cdb'
down_revision = 'f66ca777f409'
branch_labels = None
depends_on = None
def upgrade():
op.alter_column('users', 'default_random_alias_public_domain_id', new_column_name='default_alias_public_domain_id')
def downgrade():
op.alter_column('users', 'default_alias_public_domain_id', new_column_name='default_random_alias_public_domain_id')
2020-12-31 21:46:38 +08:00