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>
This commit is contained in:
parent
cff17a079d
commit
0b67631fda
1 changed files with 3 additions and 0 deletions
3
drizzle/0006_family_invites_missing_cols.sql
Normal file
3
drizzle/0006_family_invites_missing_cols.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- 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;
|
||||
Loading…
Add table
Reference in a new issue