"""handling options

Revision ID: 1b3ecdde9e65
Revises: ddfbd6d96915
Create Date: 2024-06-16 14:30:57.649239

"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "1b3ecdde9e65"
down_revision = "ddfbd6d96915"
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_cart", sa.Column("handling_option", sa.Unicode(length=64), nullable=True)
    )
    op.add_column(
        "mps_cart", sa.Column("handling_cost_in_cents", sa.BigInteger(), nullable=True)
    )
    op.add_column(
        "mps_invoice",
        sa.Column("handling_option", sa.Unicode(length=64), nullable=True),
    )
    op.add_column(
        "mps_invoice",
        sa.Column("handling_cost_in_cents", sa.BigInteger(), nullable=True),
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("mps_invoice", "handling_cost_in_cents")
    op.drop_column("mps_invoice", "handling_option")
    op.drop_column("mps_cart", "handling_cost_in_cents")
    op.drop_column("mps_cart", "handling_option")
    # ### end Alembic commands ###
