"""tcg product update

Revision ID: 9775314e337b
Revises: 479003fbead7
Create Date: 2025-04-17 21:58:17.637210

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '9775314e337b'
down_revision: Union[str, None] = '479003fbead7'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('tcgplayer_products', sa.Column('ext_power', sa.String(), nullable=True))
    op.add_column('tcgplayer_products', sa.Column('ext_toughness', sa.String(), nullable=True))
    op.add_column('tcgplayer_products', sa.Column('ext_loyalty', sa.String(), nullable=True))
    op.add_column('tcgplayer_products', sa.Column('ext_mana_cost', sa.String(), nullable=True))
    op.add_column('tcgplayer_products', sa.Column('ext_mana_value', sa.String(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('tcgplayer_products', 'ext_mana_value')
    op.drop_column('tcgplayer_products', 'ext_mana_cost')
    op.drop_column('tcgplayer_products', 'ext_loyalty')
    op.drop_column('tcgplayer_products', 'ext_toughness')
    op.drop_column('tcgplayer_products', 'ext_power')
    # ### end Alembic commands ###
