Cleared old table usage
This commit is contained in:
parent
feb87873fb
commit
7a5cbc3549
1 changed files with 1 additions and 5 deletions
|
|
@ -153,11 +153,7 @@ pub async fn perform_demo_import(force: bool, pool: &MySqlPool) -> Result<DemoIm
|
||||||
.await?;
|
.await?;
|
||||||
info!(%filename, file_id = %id, "demo file inserted into database");
|
info!(%filename, file_id = %id, "demo file inserted into database");
|
||||||
|
|
||||||
sqlx::query("INSERT INTO file_jobs (file_id, status) VALUES (?, 'Queued')")
|
info!(%filename, file_id = %id, "demo file queued for analysis by worker");
|
||||||
.bind(&id)
|
|
||||||
.execute(pool)
|
|
||||||
.await?;
|
|
||||||
info!(%filename, file_id = %id, "demo file queued for analysis");
|
|
||||||
|
|
||||||
summary.imported += 1;
|
summary.imported += 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue