Dumb question... What is replication and why is it wanted if changes are not immediately visible in
Dumb question... What is replication and why is it wanted if changes are not immediately visible in all locations?
D1_ERROR: Error: Internal error while starting up D1 storage caused object to be reset., doesn't load in the dashboard at all either, "Failed to reach database. Please try again later."7/2/23, 9:29 PM


"SELECT * FROM users LIMIT 5" — it doesn't matter what the schema is because the query doesn't do anything smart.➜ 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 │
└─────┴───────────────┴─────────┴─────────┴────────────┴────┴────────┘