Changed weight to mass in manticore actors table to prevent score weight conflict.

This commit is contained in:
DebaucheryLibrarian 2024-03-24 04:23:55 +01:00
parent 43af2ef9c9
commit 33311b4954
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ const actorsFields = `
date_of_birth timestamp,
country string,
has_avatar bool,
weight int,
mass int,
height int,
cup string,
natural_boobs int,

View File

@ -42,7 +42,7 @@ async function init() {
date_of_birth timestamp,
country string,
has_avatar bool,
weight int,
mass int,
height int,
cup string,
natural_boobs int,
@ -66,7 +66,7 @@ async function init() {
has_avatar: !!actor.avatar_media_id,
country: actor.birth_country_alpha2 || undefined,
height: actor.height || undefined,
weight: actor.weight || undefined,
mass: actor.weight || undefined, // weight is a reserved keyword in manticore
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
penis_length: actor.penis_length || undefined,