mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-08-23 00:54:14 -05:00
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
6 lines
311 B
SQL
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";
|