Fix up patch and schema database files

master
Nic0Nic0Nii 3 years ago
parent aa85511e87
commit aa7d7faf9f
  1. 1
      ngsplanner_patch.sql
  2. 2
      ngsplanner_schema.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;

@ -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

Loading…
Cancel
Save