makedb: fix "searchtable" being refered to its old name "cache"

This commit is contained in:
Peter McGoron 2021-08-13 17:08:12 -04:00
parent 51c5604f69
commit 905e5a933b
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ let makedb db json = let open Sqlite3
in json |> member "Table" |> member "Row" |> to_list
|> List.iter access_data;
finalize stmt |> Rc.check;
let stmt = "INSERT INTO cache VALUES (:name, :cache);"
let stmt = "INSERT INTO searchtable VALUES (:name, :cache);"
|> prepare db
in
do_model stmt "symb" !symbs;