same as last commit

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-10-06 08:37:32 +02:00
parent d73990d5b2
commit c22c77ade6
1 changed files with 0 additions and 5 deletions

View File

@ -1,5 +0,0 @@
alter table award_relationships add column granted_by int;
ALTER TABLE ONLY public.award_relationships
ADD CONSTRAINT award_granted_by_fkey FOREIGN KEY (granted_by) REFERENCES public.users(id);
update award_relationships set granted_by=1 where granted=true;
alter table award_relationships drop column granted;