diff --git a/src/backend/model/database/enitites/MediaEntity.ts b/src/backend/model/database/enitites/MediaEntity.ts index 60db29e5..5eb17224 100644 --- a/src/backend/model/database/enitites/MediaEntity.ts +++ b/src/backend/model/database/enitites/MediaEntity.ts @@ -132,7 +132,7 @@ export class MediaMetadataEntity implements MediaMetadata { @Column(() => PositionMetaDataEntity) positionData: PositionMetaDataEntity; - @Column('tinyint', {unsigned: false}) + @Column('tinyint', {unsigned: true}) @Index() rating: 0 | 1 | 2 | 3 | 4 | 5;