"""add_social_media_to_coupons

Revision ID: 94b4cb57c6c1
Revises: dfbcee895f78
Create Date: 2026-01-28 11:31:47.625569

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa
import sqlmodel


# revision identifiers, used by Alembic.
revision: str = '94b4cb57c6c1'
down_revision: Union[str, None] = 'dfbcee895f78'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('coupons', sa.Column('social_media', sqlmodel.sql.sqltypes.AutoString(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('coupons', 'social_media')
    # ### end Alembic commands ###

