mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
Added rating to performers and studios (#1308)
This commit is contained in:
@@ -36,6 +36,7 @@ const (
|
||||
piercings = "piercings"
|
||||
tattoos = "tattoos"
|
||||
twitter = "twitter"
|
||||
rating = 5
|
||||
details = "details"
|
||||
hairColor = "hairColor"
|
||||
weight = 60
|
||||
@@ -86,6 +87,7 @@ func createFullPerformer(id int, name string) *models.Performer {
|
||||
UpdatedAt: models.SQLiteTimestamp{
|
||||
Timestamp: updateTime,
|
||||
},
|
||||
Rating: models.NullInt64(rating),
|
||||
Details: models.NullString(details),
|
||||
DeathDate: deathDate,
|
||||
HairColor: models.NullString(hairColor),
|
||||
@@ -133,6 +135,7 @@ func createFullJSONPerformer(name string, image string) *jsonschema.Performer {
|
||||
UpdatedAt: models.JSONTime{
|
||||
Time: updateTime,
|
||||
},
|
||||
Rating: rating,
|
||||
Image: image,
|
||||
Details: details,
|
||||
DeathDate: deathDate.String,
|
||||
|
||||
Reference in New Issue
Block a user