Files
tranquil-pds/migrations/20251242_invite_code_for_account.sql
2025-12-29 20:00:58 +02:00

3 lines
179 B
SQL

ALTER TABLE invite_codes ADD COLUMN IF NOT EXISTS for_account TEXT NOT NULL DEFAULT 'admin';
CREATE INDEX IF NOT EXISTS idx_invite_codes_for_account ON invite_codes(for_account);