db: squash migrations

This commit is contained in:
Rotimi Best
2025-04-19 23:21:43 +01:00
parent 1ab07d8d95
commit d010531ef7
34 changed files with 2603 additions and 3467 deletions
@@ -1,11 +0,0 @@
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";