"""add_order_date_to_letzshop_orders

Revision ID: 2362c2723a93
Revises: 204273a59d73
Create Date: 2025-12-19 08:46:23.731912

"""
from collections.abc import Sequence

import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision: str = "2362c2723a93"
down_revision: str | None = "204273a59d73"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None


def upgrade() -> None:
    # Add order_date column to letzshop_orders table
    op.add_column("letzshop_orders", sa.Column("order_date", sa.DateTime(timezone=True), nullable=True))


def downgrade() -> None:
    op.drop_column("letzshop_orders", "order_date")
