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:
parent
e0b05c0fa6
commit
d05c380504
2 changed files with 2 additions and 2 deletions
|
@ -177,7 +177,7 @@ CREATE TABLE or_words (
|
||||||
bare TEXT NOT NULL,
|
bare TEXT NOT NULL,
|
||||||
accented TEXT,
|
accented TEXT,
|
||||||
derived_from_word_id INTEGER,
|
derived_from_word_id INTEGER,
|
||||||
rank TEXT,
|
rank INTEGER,
|
||||||
word_type TEXT,
|
word_type TEXT,
|
||||||
level TEXT
|
level TEXT
|
||||||
) STRICT;
|
) STRICT;
|
||||||
|
|
|
@ -19,7 +19,7 @@ pub struct Word {
|
||||||
pub bare: String, // TODO: unknown
|
pub bare: String, // TODO: unknown
|
||||||
pub accented: String, // TODO: unknown
|
pub accented: String, // TODO: unknown
|
||||||
pub derived_from_word_id: Option<usize>,
|
pub derived_from_word_id: Option<usize>,
|
||||||
pub rank: String, // TODO: unknown
|
pub rank: Option<usize>,
|
||||||
pub disabled: String, // TODO: unknown
|
pub disabled: String, // TODO: unknown
|
||||||
pub audio: String, // TODO: unknown
|
pub audio: String, // TODO: unknown
|
||||||
pub usage_en: String, // TODO: unknown
|
pub usage_en: String, // TODO: unknown
|
||||||
|
|
Loading…
Reference in a new issue