wip fix settings pack width

This commit is contained in:
Tau
2019-04-29 19:58:44 -04:00
parent 457c06d470
commit f08c47306d
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ create table "idz"."settings" (
references "idz"."profile"("id")
on delete cascade,
"music" smallint not null,
"pack" integer not null,
"pack" bigint not null,
"paper_cup" smallint not null, -- Not a boolean, oddly enough
"gauges" integer not null
);

View File

@@ -23,7 +23,7 @@ export class SqlSettingsRepository implements FacetRepository<Settings> {
return {
music: row.music,
pack: row.pack,
pack: parseInt(row.pack, 10),
paperCup: row.paper_cup,
gauges: row.gauges,
};