from __future__ import annotations

from alembic import op
import sqlalchemy as sa

revision = "0004_daily_chat_reset_date"
down_revision = "0003_ai_log_retrieved_chunks"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column("sys_user", sa.Column("daily_chat_reset_date", sa.Date(), nullable=True))


def downgrade() -> None:
    op.drop_column("sys_user", "daily_chat_reset_date")
