fix(corp/data-import): rank is an integer field

Change-Id: Ifc9cd46e5b5521096db19628bd8bcf026106dcc9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7926
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2023-01-25 12:50:29 +03:00 committed by clbot
parent e0b05c0fa6
commit d05c380504
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ CREATE TABLE or_words (
bare TEXT NOT NULL,
accented TEXT,
derived_from_word_id INTEGER,
rank TEXT,
rank INTEGER,
word_type TEXT,
level TEXT
) STRICT;

View file

@ -19,7 +19,7 @@ pub struct Word {
pub bare: String, // TODO: unknown
pub accented: String, // TODO: unknown
pub derived_from_word_id: Option<usize>,
pub rank: String, // TODO: unknown
pub rank: Option<usize>,
pub disabled: String, // TODO: unknown
pub audio: String, // TODO: unknown
pub usage_en: String, // TODO: unknown