quest-roles-demo init

feat: backend changes
This commit is contained in:
vidvidvid
2022-01-24 19:12:31 +01:00
committed by Scott Stevenson
parent c92b004a0c
commit eaa8610fb3
8 changed files with 8 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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