Apply icon column to photon arts table

master
sigonasr2, Sig, Sigo 3 years ago
parent e03f260353
commit b1b73336cd
  1. 1
      ngsplanner_patch.sql
  2. 3
      ngsplanner_schema.sql
  3. 8
      ngsplanner_seed.sql
  4. 2
      server.js

@ -5,3 +5,4 @@ alter table weapon_type add column shorthand text;
alter table weapon_existence_data add column special_name text;
alter table potential drop column description;
alter table potential_data add column description text;
alter table photon_art add column icon text;

@ -261,7 +261,8 @@ CREATE TABLE "photon_art" (
"pp" int,
"frames" int,
"dps" int,
"property" int
"property" int,
"icon" text
);
CREATE TABLE "enemy_data" (

@ -245,10 +245,10 @@ insert into database_audit(action,table_name,row_name,row_id,old_value,new_value
insert into database_audit(action,table_name,row_name,row_id,old_value,new_value,date,users_id)
values('UPDATE','skill_data','mel_dmg',1,'0.01','0','2018-07-17 19:45+00',(select id from users where username='sigonasr3' limit 1));
insert into photon_art(name,weapon_type_id,potency,power_distribution,pp,frames,dps)
values('Normal Attack Lv1',(select id from weapon_type where name='Twin Dagger' limit 1),100,0.45,2,20,270);
insert into photon_art(name,weapon_type_id,potency,power_distribution,pp,frames,dps)
values('Spin Counter',(select id from weapon_type where name='Twin Dagger' limit 1),100,3,8,38,521);
insert into photon_art(name,weapon_type_id,potency,power_distribution,pp,frames,dps,icon)
values('Normal Attack Lv1',(select id from weapon_type where name='Twin Dagger' limit 1),100,0.45,2,20,270,'');
insert into photon_art(name,weapon_type_id,potency,power_distribution,pp,frames,dps,icon)
values('Spin Counter',(select id from weapon_type where name='Twin Dagger' limit 1),100,3,8,38,521,'');
insert into enemy_data(level,def,atk)
values(1,450,900);

@ -114,7 +114,7 @@ const ENDPOINTDATA=[
{
endpoint:"photon_art",
requiredfields:["name","weapon_type_id","potency","dps"],
optionalfields:["power_distribution","pp","frames"],
optionalfields:["power_distribution","pp","frames","icon"],
excludedfields:[] //Fields to not output in GET.
},
{

Loading…
Cancel
Save