oh wait, db.prepare might not
oh wait, db.prepare might not

wrangler d1 export on a newer version of wrangler and send them the sql?wrangler d1 list
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxx/d1/database) failed.
Authentication error [code: 10000]wrangler logout and wrangler login workedSuccessfully logged in.
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxx/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email xxxxxxx!
┌──────────────────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├──────────────────────────────────────────┼──────────────────────────────────┤
│ xxxxxxx's Account │ xxxxxxx │
└──────────────────────────────────────────┴──────────────────────────────────┘
🔓 Token Permissions: If scopes are missing, you may need to logout and re-login.
Scope (Access)
- account (read)
- user (read)
- workers (write)
- workers_kv (write)
- workers_routes (write)
- workers_scripts (write)
- workers_tail (read)
- d1 (write)
- pages (write)
- zone (read)
- ssl_certs (write)
- constellation (write)
- ai (write)
- queues (write)
- offline_accessaccount_id in your Wrangler.toml?wrangler d1 export hasn't been removedexport?✘ [ERROR] A request to the Cloudflare API (/accounts/67d05e471e1ffe25b7ba89dc94d53c1e/d1/database/7daadf1d-3893-420b-a61f-e77cc2963a0e/time_travel/restore?bookmark=0000050f-00000004-00004d9e-8e5306bc9a4d7f84b25d329535288b3f) failed.
The destination execution context for this RPC was canceled while the call was still running.
[code: 7500]wrangler d1 exportwrangler d1 exportwrangler d1 list
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxx/d1/database) failed.
Authentication error [code: 10000]wrangler logoutwrangler loginSuccessfully logged in.
✘ [ERROR] A request to the Cloudflare API (/accounts/xxxxx/d1/database) failed.
Authentication error [code: 10000]
Getting User settings...
👋 You are logged in with an OAuth Token, associated with the email xxxxxxx!
┌──────────────────────────────────────────┬──────────────────────────────────┐
│ Account Name │ Account ID │
├──────────────────────────────────────────┼──────────────────────────────────┤
│ xxxxxxx's Account │ xxxxxxx │
└──────────────────────────────────────────┴──────────────────────────────────┘
🔓 Token Permissions: If scopes are missing, you may need to logout and re-login.
Scope (Access)
- account (read)
- user (read)
- workers (write)
- workers_kv (write)
- workers_routes (write)
- workers_scripts (write)
- workers_tail (read)
- d1 (write)
- pages (write)
- zone (read)
- ssl_certs (write)
- constellation (write)
- ai (write)
- queues (write)
- offline_accessaccount_idexport