about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--corp/russian/data-import/src/db_setup.rs2
-rw-r--r--corp/russian/data-import/src/or_parser.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/corp/russian/data-import/src/db_setup.rs b/corp/russian/data-import/src/db_setup.rs
index 21cfb2a4652e..c9fb51738651 100644
--- a/corp/russian/data-import/src/db_setup.rs
+++ b/corp/russian/data-import/src/db_setup.rs
@@ -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;
diff --git a/corp/russian/data-import/src/or_parser.rs b/corp/russian/data-import/src/or_parser.rs
index eace850c24eb..8bfc61dbef48 100644
--- a/corp/russian/data-import/src/or_parser.rs
+++ b/corp/russian/data-import/src/or_parser.rs
@@ -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