chore: consolidate migrations

This commit is contained in:
vidvidvid
2022-01-30 19:17:57 +01:00
committed by Scott Stevenson
parent d559d5a1bf
commit 36a05aaa55
8 changed files with 1 additions and 8 deletions

View File

@@ -1 +0,0 @@
DROP TABLE "public"."quest_role";

View File

@@ -1 +0,0 @@
alter table "public"."quest_role" add constraint "quest_role_quest_id_key" unique ("quest_id");

View File

@@ -1 +0,0 @@
ALTER TABLE "public"."PlayerRole" DROP COLUMN "isBasic";

View File

@@ -1 +1 @@
ALTER TABLE "public"."PlayerRole" ADD COLUMN "isBasic" boolean NULL DEFAULT true;
ALTER TABLE "public"."PlayerRole" ADD COLUMN "basic" boolean NULL DEFAULT true;

View File

@@ -1 +0,0 @@
ALTER TABLE "public"."quest_role" ALTER COLUMN "rank" SET NOT NULL;

View File

@@ -1 +0,0 @@
ALTER TABLE "public"."quest_role" ALTER COLUMN "rank" DROP NOT NULL;

View File

@@ -1 +0,0 @@
alter table "public"."PlayerRole" rename column "basic" to "isBasic";

View File

@@ -1 +0,0 @@
alter table "public"."PlayerRole" rename column "isBasic" to "basic";