diff --git a/server/src/db/schemas.ts b/server/src/db/schemas.ts index e3d30237a..5b93d0661 100644 --- a/server/src/db/schemas.ts +++ b/server/src/db/schemas.ts @@ -331,6 +331,8 @@ const PRUDENCE_CHART_BASE: PrudenceSchema = { levelNum: p.isPositive, length: "?string", bpmString: "?string", + isPrimary: "boolean", + versions: ["string"], }; function CreatePrChart(game: Game, flags: string[], data: PrudenceSchema) { @@ -377,10 +379,8 @@ const PRUDENCE_SONG_BASE: PrudenceSchema = { id: p.isPositiveInteger, title: "string", artist: "string", - isAvailable: "boolean", "search-titles": [p.and("string", (self, parent) => self !== parent.title)], "alt-titles": [p.and("string", (self, parent) => self !== parent.title)], - versions: ["string"], firstVersion: "string", };