mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
fix fs
This commit is contained in:
parent
7624d7209d
commit
731df97cd2
2 changed files with 4 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -44,11 +44,11 @@
|
||||||
"rust-analyzer-src": []
|
"rust-analyzer-src": []
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724567349,
|
"lastModified": 1724653830,
|
||||||
"narHash": "sha256-w2G1EJlGvgRSC1OAm2147mCzlt6ZOWIiqX/TSJUgrGE=",
|
"narHash": "sha256-88f0KK8h6tGIP4Na5RJDKs0S+7WsGGaCGNkLj/bPV3g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "71fe264f6e208831aa0e7e54ad557a283c375014",
|
"rev": "9ecf5e7d800ace001320da8acadd4a3deb872a83",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -185,6 +185,7 @@ pub async fn create_db_entities_bulk_filter(
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let file_path = format!("data/temp/{}.surql", file_name);
|
let file_path = format!("data/temp/{}.surql", file_name);
|
||||||
|
tokio::fs::create_dir_all("data/temp").await?;
|
||||||
|
|
||||||
db_mem.export(&file_path).await?;
|
db_mem.export(&file_path).await?;
|
||||||
db.import(&file_path).await?;
|
db.import(&file_path).await?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue