mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-08-22 00:24:34 -05:00
Make pending hacks assignable to admin for review (#66)
Some checks failed
Deploy Supabase Migrations to Production / migrate (push) Has been cancelled
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:
@@ -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";
|
||||
Reference in New Issue
Block a user