Public Access
feat: migration 0009 — add reminded_at to weekly_run
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
"""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")
|
||||
Reference in New Issue
Block a user