From 277f50efc4c326f6e5a2d1a350469f990bbd9544 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 21 Nov 2022 21:45:43 +0100 Subject: [PATCH] Increasing possible media count per folder fixes #559 --- src/backend/model/database/sql/enitites/DirectoryEntity.ts | 2 +- src/common/DataStructureVersion.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/model/database/sql/enitites/DirectoryEntity.ts b/src/backend/model/database/sql/enitites/DirectoryEntity.ts index 70e7d3d1..26614623 100644 --- a/src/backend/model/database/sql/enitites/DirectoryEntity.ts +++ b/src/backend/model/database/sql/enitites/DirectoryEntity.ts @@ -61,7 +61,7 @@ export class DirectoryEntity isPartial?: boolean; - @Column('smallint', { unsigned: true }) + @Column('mediumint', { unsigned: true }) mediaCount: number; @Index() diff --git a/src/common/DataStructureVersion.ts b/src/common/DataStructureVersion.ts index 82780e68..1352d623 100644 --- a/src/common/DataStructureVersion.ts +++ b/src/common/DataStructureVersion.ts @@ -1,4 +1,4 @@ /** * This version indicates that the SQL sql/entities/*Entity.ts files got changed and the db needs to be recreated */ -export const DataStructureVersion = 27; +export const DataStructureVersion = 28;