mirror of
https://github.com/bpatrik/pigallery2.git
synced 2024-12-23 01:27:14 +02:00
changed database to be able to contain rating -1
This commit is contained in:
parent
9e7acc46c1
commit
77982e6c10
@ -132,9 +132,9 @@ export class MediaMetadataEntity implements MediaMetadata {
|
||||
@Column(() => PositionMetaDataEntity)
|
||||
positionData: PositionMetaDataEntity;
|
||||
|
||||
@Column('tinyint', {unsigned: true})
|
||||
@Column('tinyint', {unsigned: false})
|
||||
@Index()
|
||||
rating: 0 | 1 | 2 | 3 | 4 | 5;
|
||||
rating: -1 | 0 | 1 | 2 | 3 | 4 | 5;
|
||||
|
||||
@OneToMany(() => PersonJunctionTable, (junctionTable) => junctionTable.media)
|
||||
personJunction: PersonJunctionTable[];
|
||||
|
Loading…
Reference in New Issue
Block a user