From 97e4e631fb43254995950d5dcc429c2bfa02c790 Mon Sep 17 00:00:00 2001 From: zkldi Date: Sat, 24 Apr 2021 16:53:24 +0100 Subject: [PATCH] this property doesnt exist --- server/src/db/schemas.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/db/schemas.ts b/server/src/db/schemas.ts index e1c8cf68d..a9a4d90e3 100644 --- a/server/src/db/schemas.ts +++ b/server/src/db/schemas.ts @@ -331,7 +331,6 @@ const PRUDENCE_CHART_BASE: PrudenceSchema = { levelNum: p.isPositive, length: "?string", bpmString: "?string", - isAvailable: "boolean", }; function CreatePrChart(game: Game, flags: string[], data: PrudenceSchema) { @@ -378,10 +377,11 @@ const PRUDENCE_SONG_BASE: PrudenceSchema = { id: p.isPositiveInteger, title: "string", artist: "string", - isRemoved: "boolean", + isAvailable: "boolean", "search-titles": [p.and("string", (self, parent) => self !== parent.title)], "alt-titles": [p.and("string", (self, parent) => self !== parent.title)], - version: ["string"], + versions: ["string"], + firstVersion: "string", }; function CreatePrSong(data: PrudenceSchema) {