"""add role for s3 lists

Revision ID: 7155ba7dec60
Revises: 0a0a65db7f01
Create Date: 2022-05-11 16:07:30.363508

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '7155ba7dec60'
down_revision = '0a0a65db7f01'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('mirror_list', schema=None) as batch_op:
        batch_op.add_column(sa.Column('role', sa.String(length=255), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('mirror_list', schema=None) as batch_op:
        batch_op.drop_column('role')

    # ### end Alembic commands ###
