mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
fix: crane
This commit is contained in:
parent
53e3ffe0dd
commit
6dcb9fd043
9 changed files with 166 additions and 148 deletions
|
@ -241,6 +241,8 @@ impl CreateVersion {
|
|||
|
||||
let file_path = format!("data/temp/{}.surql", file_name);
|
||||
|
||||
tokio::fs::create_dir_all("data/temp").await?;
|
||||
|
||||
db_mem.export(&file_path).await?;
|
||||
db.import(&file_path).await?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue