From 78fbc942b997e9b82f9e02ab46d1a30ce8ce60a6 Mon Sep 17 00:00:00 2001 From: gras Date: Sat, 30 Mar 2024 22:04:07 +0100 Subject: [PATCH] mediaentity rating back to unsigned --- src/backend/model/database/enitites/MediaEntity.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;