File size: 530 Bytes
92176ae
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
create table if not exists public.submission_instructor_feedback (
    submission_id text primary key references public.submissions(submission_id) on delete cascade,
    feedback text not null,
    updated_at timestamptz not null default now(),
    updated_by text not null
);
alter table public.submission_instructor_feedback enable row level security;
revoke all on table public.submission_instructor_feedback from anon, authenticated;
grant select, insert, update on table public.submission_instructor_feedback to service_role;