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;