idz: Add idz_settings.driving_style column

This commit is contained in:
BemaniWitch
2021-02-03 23:43:41 +00:00
committed by Tau
parent 9f6b0e59c8
commit 48a9bcbdbd
8 changed files with 41 additions and 1 deletions
+2 -1
View File
@@ -104,7 +104,8 @@ create table "idz_settings" (
"pack" integer not null,
"aura" integer not null,
"paper_cup" integer not null, -- Not a boolean, oddly enough
"gauges" integer not null
"gauges" integer not null,
"driving_style" integer not null
);
create table "idz_story_state" (
+33
View File
@@ -0,0 +1,33 @@
create table "new_idz_settings" (
"id" integer primary key not null
references "idz_profile"("id")
on delete cascade,
"music" integer not null,
"pack" integer not null,
"aura" integer not null,
"paper_cup" integer not null, -- Not a boolean, oddly enough
"gauges" integer not null,
"driving_style" integer not null
);
insert into "new_idz_settings" (
"id",
"music",
"pack",
"aura",
"paper_cup",
"gauges",
"driving_style"
) select
x."id",
x."music",
x."pack",
x."aura",
x."paper_cup",
x."gauges",
0
from "idz_settings" as x;
drop table "idz_settings";
alter table "new_idz_settings" rename to "idz_settings";