"""Remove sticker.id

Revision ID: 6f1c5993e9f0
Revises: <KEY>
Create Date: 2020-07-25 16:37:23.543659

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "6f1c5993e9f0"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    op.drop_column("sticker", "id")


def downgrade():
    op.add_column(
        "sticker",
        sa.Column(
            "id",
            sa.INTEGER(),
            server_default=sa.text("nextval('sticker_id_seq'::regclass)"),
            autoincrement=True,
            nullable=False,
        ),
    )

"""Remove sticker.id

Revision ID: 6f1c5993e9f0
Revises: <KEY>
Create Date: 2020-07-25 16:37:23.543659

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "6f1c5993e9f0"
down_revision = "<KEY>"
branch_labels = None
depends_on = None


def upgrade():
    op.drop_column("sticker", "id")


def downgrade():
    op.add_column(
        "sticker",
        sa.Column(
            "id",
            sa.INTEGER(),
            server_default=sa.text("nextval('sticker_id_seq'::regclass)"),
            autoincrement=True,
            nullable=False,
        ),
    )

Remove sticker.id  Revision ID: 6f1c5993e9f0 Revises: <KEY> Create Date: 2020-07-25 16:37:23.543659 # revision identifiers, used by Alembic.