"""remove Comment.attachment_type

Revision ID: d67d42b06b11
Revises: <KEY>
Create Date: 2020-11-05 22:14:34.521986

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd67d42b06b11'
down_revision = '<KEY>'
branch_labels = None
depends_on = None


def upgrade():
    op.drop_column('comments', 'attachment_type')


def downgrade():
    op.add_column(
        'comments',
        sa.Column('attachment_type', sa.VARCHAR(), autoincrement=False, nullable=True),
    )

"""remove Comment.attachment_type

Revision ID: d67d42b06b11
Revises: <KEY>
Create Date: 2020-11-05 22:14:34.521986

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd67d42b06b11'
down_revision = '<KEY>'
branch_labels = None
depends_on = None


def upgrade():
    op.drop_column('comments', 'attachment_type')


def downgrade():
    op.add_column(
        'comments',
        sa.Column('attachment_type', sa.VARCHAR(), autoincrement=False, nullable=True),
    )

remove Comment.attachment_type  Revision ID: d67d42b06b11 Revises: <KEY> Create Date: 2020-11-05 22:14:34.521986 # revision identifiers, used by Alembic.