Make pending hacks assignable to admin for review (#66)
Some checks failed
Deploy Supabase Migrations to Production / migrate (push) Has been cancelled

* Extract common Modal component

* Move admin pending hacks list to client component

* Add assigning pending hacks to admin for review
This commit is contained in:
Jared Schoeny
2026-07-18 22:37:41 -06:00
committed by GitHub
parent 6568c0c2d1
commit 92c86e80af
8 changed files with 802 additions and 511 deletions

View File

@@ -0,0 +1,5 @@
alter table if exists public.hacks
add column if not exists assigned_admin uuid;
alter table public.hacks add constraint "hacks_assigned_admin_fkey" FOREIGN KEY (assigned_admin) REFERENCES auth.users(id) ON DELETE SET NULL not valid;
alter table public.hacks validate constraint "hacks_assigned_admin_fkey";