D1_ERROR: Network connection lost. error. i don't think that this is supposed to happen, can someone please explain it to me?meta object (duration, row_read, row_written) in D1 + Prisma query?ON UPDATE CURRENT_TIMESTAMPCREATE TRIGGER trigger_name AFTER UPDATE ON table BEGIN UPDATE another_table SET timestamp=UNIXEPOCH('NOW') WHERE column=some_val; END—persist-to--local instead of persist-to for migrations I get :white_check_mark: No migrations to apply!wrangler 3.78.0--persist-to flag and the --local flag. I imagined --persist-to would imply local because I didn't think it was possible to direct persistence to a path remotely?c.env.DB object from outside the handle function of an endpointD1_ERROR: Network connection lost.ON UPDATE CURRENT_TIMESTAMPCREATE TRIGGER trigger_name AFTER UPDATE ON table BEGIN UPDATE another_table SET timestamp=UNIXEPOCH('NOW') WHERE column=some_val; END—persist-to✘ [ERROR] Implications failed:
persist-to -> localpersist-to:white_check_mark: No migrations to apply!wrangler 3.78.0c.env.DBhandleconst stmt = env.DB.prepare(
"INSERT OR IGNORE INTO topic_queue (topic_id) VALUES (?)"
).bind(parentTopicId);
await stmt.run();export class SampleEndpoint extends OpenAPIRoute {
async handle(c) {
const stmt = await c.env.DB.prepare(...);
}
}