Files
hackdex-website/supabase/migrations/20260718201617_assigned_admin_for_hacks.sql
Jared Schoeny 92c86e80af
Some checks failed
Deploy Supabase Migrations to Production / migrate (push) Has been cancelled
Make pending hacks assignable to admin for review (#66)
* Extract common Modal component

* Move admin pending hacks list to client component

* Add assigning pending hacks to admin for review
2026-07-18 22:37:41 -06:00

6 lines
311 B
SQL

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";