From aa7d7faf9f79061fdda4a400256f2d55bb920e83 Mon Sep 17 00:00:00 2001 From: Nic0Nic0Nii Date: Wed, 18 Aug 2021 05:19:05 +0000 Subject: [PATCH] Fix up patch and schema database files --- ngsplanner_patch.sql | 1 + ngsplanner_schema.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ngsplanner_patch.sql b/ngsplanner_patch.sql index e301b48..3a6faff 100644 --- a/ngsplanner_patch.sql +++ b/ngsplanner_patch.sql @@ -8,6 +8,7 @@ alter table potential_data add column description text; alter table photon_art add column icon text; alter table users add column recovery_hash text; alter table armor rename column pb_gauge_build to slot; +alter table armor add column battle_power_value text; CREATE TABLE "skill_tree_data"("id" SERIAL UNIQUE PRIMARY KEY,"class_id" int,"data" text,"skill_data" text,"line_color" text,"line_width" int,"gridsizex" int,"gridsizey" int,"gridpaddingx" int,"gridpaddingy" int); ALTER TABLE "skill_tree_data" ADD FOREIGN KEY ("class_id") REFERENCES "class" ("id"); alter table skill_tree_data add column halflineheight int; \ No newline at end of file diff --git a/ngsplanner_schema.sql b/ngsplanner_schema.sql index c9f0b40..5092b1c 100644 --- a/ngsplanner_schema.sql +++ b/ngsplanner_schema.sql @@ -127,7 +127,7 @@ CREATE TABLE "armor" ( "panic_res" float, "poison_res" float, "slot" int, - "pb_gauge_build" float, + "battle_power_value" float, "icon" text, "popularity" int, "editors_choice" int