Added programmer role and fixed snackbar not showing

This commit is contained in:
2026-03-16 07:23:20 +08:00
parent 9f7791e56f
commit 81853c4367
23 changed files with 362 additions and 65 deletions
@@ -0,0 +1,6 @@
-- Add `programmer` to the `user_role` enum.
--
-- This is used by the application for role-based access checks. It must be
-- committed before any other schema objects (e.g., RLS policies) reference it.
ALTER TYPE user_role ADD VALUE IF NOT EXISTS 'programmer';