"""Ajout description et msrp sur products.

Revision ID: 20260115_02_product_details
Revises: 20260114_02
Create Date: 2026-01-15 10:00:00.000000
"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "20260115_02_product_details"
down_revision = "20260114_02"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column("products", sa.Column("description", sa.Text(), nullable=True))
    op.add_column("products", sa.Column("msrp", sa.Numeric(10, 2), nullable=True))


def downgrade() -> None:
    op.drop_column("products", "msrp")
    op.drop_column("products", "description")
