chore: supabase CLI setup, migrations, type regeneration - Install supabase CLI as dev dependency - Fix migration 023: use gen_random_uuid() instead of uuid_generate_v4() - Push migrations 023 + 024 to remote Supabase - Regenerate TypeScript types from live DB schema - Remove all (supabase as any) workaround casts across 6 files - Add convenience type aliases to generated types file - Align EventMember/EventRole/EventDepartment interfaces with DB nullability - Add npm scripts: db:push, db:types, db:migrate - svelte-check: 0 errors, vitest: 112/112 passed

This commit is contained in:
AlacrisDevs
2026-02-07 13:05:47 +02:00
parent d304129e5c
commit 202f0fe9a1
10 changed files with 368 additions and 76 deletions

View File

@@ -72,7 +72,7 @@
if (!newEventName.trim()) return;
creating = true;
try {
const { data: created, error } = await (supabase as any)
const { data: created, error } = await supabase
.from("events")
.insert({
org_id: data.org.id,