"""empty message Revision ID: d917fae4e56a Revises: b90a9ae0e761 Create Date: 2023-02-22 13:36:56.005994 """ import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = 'd917fae4e56a' down_revision = 'b90a9ae0e761' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('weekly_report', schema='dna') as batch_op: batch_op.alter_column( 'artist_name', existing_type=sa.VARCHAR(length=255), type_=sa.String(length=511), existing_nullable=True ) batch_op.alter_column( 'label', existing_type=sa.VARCHAR(length=255), type_=sa.String(length=511), existing_nullable=True ) batch_op.alter_column( 'spotify_link', existing_type=sa.VARCHAR(length=255), type_=sa.String(length=511), existing_nullable=True ) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### with op.batch_alter_table('weekly_report', schema='dna') as batch_op: batch_op.alter_column( 'spotify_link', existing_type=sa.String(length=511), type_=sa.VARCHAR(length=255), existing_nullable=True ) batch_op.alter_column( 'label', existing_type=sa.String(length=511), type_=sa.VARCHAR(length=255), existing_nullable=True ) batch_op.alter_column( 'artist_name', existing_type=sa.String(length=511), type_=sa.VARCHAR(length=255), existing_nullable=True ) # ### end Alembic commands ###