UMBRA/backend/alembic/versions/010_make_remind_at_nullable.py
Kyle Pope 4169c245c2 Global enhancements: none priority, optional remind_at, required labels, textarea flex, remove color picker
- Add "none" priority (grey) to task/todo schemas, types, and all priority color maps
- Make remind_at optional on reminders (schema, model, migration 010)
- Add required prop to Label component with red asterisk indicator
- Add invalid:ring-red-500 to Input, Select, Textarea base classes
- Mark mandatory fields with required labels across all forms
- Replace fixed textarea rows with min-h + flex-1 for auto-expand
- Remove color picker from ProjectForm
- Align TaskRow metadata into fixed-width columns

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 11:58:19 +08:00

24 lines
487 B
Python

"""make remind_at nullable
Revision ID: 010
Revises: 009
Create Date: 2026-02-22
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = "010"
down_revision = "009"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.alter_column("reminders", "remind_at", existing_type=sa.DateTime(), nullable=True)
def downgrade() -> None:
op.alter_column("reminders", "remind_at", existing_type=sa.DateTime(), nullable=False)