"""empty message Revision ID: bc290d035406 Revises: 49d256e40a4c Create Date: 2022-05-26 13:29:55.124869 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = 'bc290d035406' down_revision = '49d256e40a4c' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('representative', sa.Column('first_name', sa.String(length=200), nullable=True)) op.add_column('representative', sa.Column('last_name', sa.String(length=200), nullable=True)) op.add_column('representative', sa.Column('picture', sa.String(length=200), nullable=True)) op.drop_column('representative', 'name') # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('representative', sa.Column('name', mysql.VARCHAR(length=200), nullable=True)) op.drop_column('representative', 'picture') op.drop_column('representative', 'last_name') op.drop_column('representative', 'first_name') # ### end Alembic commands ###