After a change in the database structure, run:
pnpm --filter @frontline-hq/mailguard-supabase after-db-change
Or instead, synonymously:
-
pnpm --filter @frontline-hq/mailguard-supabase test
- will reset and test the database -
pnpm --filter @frontline-hq/mailguard-supabase sync-snaplet
- sync snaplet schema with database -
pnpm --filter @frontline-hq/mailguard-supabase generate-types
- generate new supabase database types -
pnpm --filter @frontline-hq/mailguard-supabase build
- build database
Then restart your typescript server.