Public Access
25 lines
455 B
Python
25 lines
455 B
Python
"""Phase 6: add reminded_at to weekly_run
|
|
|
|
Revision ID: 0009
|
|
Revises: 0008
|
|
Create Date: 2026-05-07
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
revision = "0009"
|
|
down_revision = "0008"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column(
|
|
"weekly_run",
|
|
sa.Column("reminded_at", sa.DateTime(timezone=True), nullable=True),
|
|
)
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("weekly_run", "reminded_at")
|