Files
classroomio/supabase/migrations/20231213105201_organizationmember_author_profile_id.sql
T
Rotimi Best aa2f7c58c8 fix: undefined org name in student invite link + community error (#101)
* fix: move org slot media query to postcss

* fix: remove slot css

* fix: remove unused vars

* fix: a ton of community improvements

* chore: ci/cd supabase
2023-12-13 16:03:02 +03:00

11 lines
700 B
SQL

alter table "public"."community_answer" add column "author_profile_id" uuid;
alter table "public"."community_question" add column "author_profile_id" uuid;
alter table "public"."community_answer" add constraint "community_answer_author_profile_id_fkey" FOREIGN KEY (author_profile_id) REFERENCES profile(id) not valid;
alter table "public"."community_answer" validate constraint "community_answer_author_profile_id_fkey";
alter table "public"."community_question" add constraint "community_question_author_profile_id_fkey" FOREIGN KEY (author_profile_id) REFERENCES profile(id) not valid;
alter table "public"."community_question" validate constraint "community_question_author_profile_id_fkey";