This commit is contained in:
Elijah McMorris 2024-08-26 00:38:37 -07:00
parent 7624d7209d
commit 731df97cd2
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
2 changed files with 4 additions and 3 deletions

6
flake.lock generated
View file

@ -44,11 +44,11 @@
"rust-analyzer-src": []
},
"locked": {
"lastModified": 1724567349,
"narHash": "sha256-w2G1EJlGvgRSC1OAm2147mCzlt6ZOWIiqX/TSJUgrGE=",
"lastModified": 1724653830,
"narHash": "sha256-88f0KK8h6tGIP4Na5RJDKs0S+7WsGGaCGNkLj/bPV3g=",
"owner": "nix-community",
"repo": "fenix",
"rev": "71fe264f6e208831aa0e7e54ad557a283c375014",
"rev": "9ecf5e7d800ace001320da8acadd4a3deb872a83",
"type": "github"
},
"original": {

View file

@ -185,6 +185,7 @@ pub async fn create_db_entities_bulk_filter(
.collect();
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?;