Mega push vol 7 mvp lesgoooo

This commit is contained in:
AlacrisDevs
2026-02-07 21:47:47 +02:00
parent dcee479839
commit d22847f555
75 changed files with 7685 additions and 892 deletions

View File

@@ -0,0 +1,11 @@
-- Remove auto-seeding of departments and roles on event creation.
-- These will now be offered as suggestions in the UI instead.
-- Drop the existing trigger and function
DROP TRIGGER IF EXISTS on_event_created_seed_defaults ON events;
DROP FUNCTION IF EXISTS public.seed_event_defaults();
-- Delete all existing seeded departments and roles
-- (cascades will clean up member-department assignments, dashboards, panels, checklists, notes)
DELETE FROM event_departments;
DELETE FROM event_roles;