mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08: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