mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Change performer height to be numeric (#3060)
* Make height an int. Add height_cm field * Change UI to use height_cm * Use number fields for height/weight * Add migration note
This commit is contained in:
@@ -18,7 +18,7 @@ type Performer struct {
|
||||
Ethnicity string `json:"ethnicity"`
|
||||
Country string `json:"country"`
|
||||
EyeColor string `json:"eye_color"`
|
||||
Height string `json:"height"`
|
||||
Height *int `json:"height"`
|
||||
Measurements string `json:"measurements"`
|
||||
FakeTits string `json:"fake_tits"`
|
||||
CareerLength string `json:"career_length"`
|
||||
@@ -50,7 +50,7 @@ type PerformerPartial struct {
|
||||
Ethnicity OptionalString
|
||||
Country OptionalString
|
||||
EyeColor OptionalString
|
||||
Height OptionalString
|
||||
Height OptionalInt
|
||||
Measurements OptionalString
|
||||
FakeTits OptionalString
|
||||
CareerLength OptionalString
|
||||
|
||||
Reference in New Issue
Block a user