tia/drizzle/0006_family_invites_missing_cols.sql
Mannu 0b67631fda fix(db): add missing display_name and accepted_at columns to family_invites
Both columns are referenced by the invite API but were never in the table,
causing "column does not exist" errors when inviting family members.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-24 14:21:57 +05:30

3 lines
217 B
SQL

-- Add missing columns to family_invites that the invite flow requires
ALTER TABLE family_invites ADD COLUMN IF NOT EXISTS display_name text;
ALTER TABLE family_invites ADD COLUMN IF NOT EXISTS accepted_at timestamp;