29 lines
674 B
Python
29 lines
674 B
Python
|
"""empty message
|
||
|
|
||
|
Revision ID: 8b260b23ba3a
|
||
|
Revises: e0001237a466
|
||
|
Create Date: 2021-07-21 14:03:53.023739
|
||
|
|
||
|
"""
|
||
|
from alembic import op
|
||
|
import sqlalchemy as sa
|
||
|
|
||
|
|
||
|
# revision identifiers, used by Alembic.
|
||
|
revision = '8b260b23ba3a'
|
||
|
down_revision = 'e0001237a466'
|
||
|
branch_labels = None
|
||
|
depends_on = None
|
||
|
|
||
|
|
||
|
def upgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.add_column('representative', sa.Column('code', sa.String(length=2000), nullable=True))
|
||
|
# ### end Alembic commands ###
|
||
|
|
||
|
|
||
|
def downgrade():
|
||
|
# ### commands auto generated by Alembic - please adjust! ###
|
||
|
op.drop_column('representative', 'code')
|
||
|
# ### end Alembic commands ###
|