Changed weight to mass in manticore actors table to prevent score weight conflict.
This commit is contained in:
parent
43af2ef9c9
commit
33311b4954
|
@ -62,7 +62,7 @@ const actorsFields = `
|
||||||
date_of_birth timestamp,
|
date_of_birth timestamp,
|
||||||
country string,
|
country string,
|
||||||
has_avatar bool,
|
has_avatar bool,
|
||||||
weight int,
|
mass int,
|
||||||
height int,
|
height int,
|
||||||
cup string,
|
cup string,
|
||||||
natural_boobs int,
|
natural_boobs int,
|
||||||
|
|
|
@ -42,7 +42,7 @@ async function init() {
|
||||||
date_of_birth timestamp,
|
date_of_birth timestamp,
|
||||||
country string,
|
country string,
|
||||||
has_avatar bool,
|
has_avatar bool,
|
||||||
weight int,
|
mass int,
|
||||||
height int,
|
height int,
|
||||||
cup string,
|
cup string,
|
||||||
natural_boobs int,
|
natural_boobs int,
|
||||||
|
@ -66,7 +66,7 @@ async function init() {
|
||||||
has_avatar: !!actor.avatar_media_id,
|
has_avatar: !!actor.avatar_media_id,
|
||||||
country: actor.birth_country_alpha2 || undefined,
|
country: actor.birth_country_alpha2 || undefined,
|
||||||
height: actor.height || undefined,
|
height: actor.height || undefined,
|
||||||
weight: actor.weight || undefined,
|
mass: actor.weight || undefined, // weight is a reserved keyword in manticore
|
||||||
cup: actor.cup || undefined,
|
cup: actor.cup || undefined,
|
||||||
natural_boobs: actor.natural_boobs === null ? 0 : Number(actor.natural_boobs) + 1, // manticore bool does not seem to support null, and we need three states for natural_boobs: yes, no and unknown
|
natural_boobs: actor.natural_boobs === null ? 0 : Number(actor.natural_boobs) + 1, // manticore bool does not seem to support null, and we need three states for natural_boobs: yes, no and unknown
|
||||||
penis_length: actor.penis_length || undefined,
|
penis_length: actor.penis_length || undefined,
|
||||||
|
|
Loading…
Reference in New Issue