max / goingson
- Co-Authored-By
- Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 file changed,
+1 insertion,
-1 deletion
| @@ -405,7 +405,7 @@ | |||
| 405 | 405 | // Deleting tasks cascades time_sessions + attachments; deleting projects | |
| 406 | 406 | // cascades milestones; daily_notes and sync_accounts are independent. | |
| 407 | 407 | for table in ["tasks", "daily_notes", "sync_accounts", "projects"] { | |
| 408 | - | sqlx::query(&format!("DELETE FROM {table}")) | |
| 408 | + | sqlx::query(sqlx::AssertSqlSafe(format!("DELETE FROM {table}"))) | |
| 409 | 409 | .execute(&pool) | |
| 410 | 410 | .await | |
| 411 | 411 | .unwrap(); |