"""role id to user shop table

Revision ID: 03292288a132
Revises: e6ac162d096f
Create Date: 2022-06-27 12:31:50.885273

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "03292288a132"
down_revision = "e6ac162d096f"
branch_labels = None
depends_on = None

from make_post_sell.models.meta import UUIDType


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "mps_user_shop",
        sa.Column("role_id", sa.Integer(), nullable=False, server_default="0"),
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("mps_user_shop", "role_id")
    # ### end Alembic commands ###
