I'll keep at it. What does your users database look like, do you have the schema?
I'll keep at it. What does your users database look like, do you have the schema?
"SELECT * FROM users LIMIT 5" — it doesn't matter what the schema is because the query doesn't do anything smart.D1_ERROR: Error: Internal error while starting up D1 storage caused object to be reset, weird to me since it's just all of a sudden it died, I'm doing a lot of batched writes/updates to it, maybe maxed out some invisible limit, it's on the experimental backendshardKey (and how to make that easy for users).

"SELECT * FROM users LIMIT 5"➜ wrangler d1 execute db-enam --command "PRAGMA table_xinfo(users)"
🌀 Mapping SQL input into an array of statements
🌀 Parsing 1 statements
✔ Select an account › a single plum floating in perfume
🌀 Executing on db-enam (c89db32e-83f4-4e62-8cd7-7c8f97659029):
🚣 Executed 1 commands in 0.20019398629665375ms
┌─────┬───────────────┬─────────┬─────────┬────────────┬────┬────────┐
│ cid │ name │ type │ notnull │ dflt_value │ pk │ hidden │
├─────┼───────────────┼─────────┼─────────┼────────────┼────┼────────┤
│ 0 │ user_id │ INTEGER │ 0 │ │ 1 │ 0 │
├─────┼───────────────┼─────────┼─────────┼────────────┼────┼────────┤
│ 1 │ email_address │ TEXT │ 0 │ │ 0 │ 0 │
├─────┼───────────────┼─────────┼─────────┼────────────┼────┼────────┤
│ 2 │ created_at │ INTEGER │ 0 │ │ 0 │ 0 │
├─────┼───────────────┼─────────┼─────────┼────────────┼────┼────────┤
│ 3 │ deleted │ INTEGER │ 0 │ │ 0 │ 0 │
├─────┼───────────────┼─────────┼─────────┼────────────┼────┼────────┤
│ 4 │ settings │ TEXT │ 0 │ │ 0 │ 0 │
└─────┴───────────────┴─────────┴─────────┴────────────┴────┴────────┘D1_ERROR: Error: Internal error while starting up D1 storage caused object to be resetshardKey