I am surprised that D1 supports triggers. It's great.
I am surprised that D1 supports triggers. It's great.
--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 endpointnpm:sqlite-vec?✘ [ERROR] Implications failed:
persist-to -> localpersist-to:white_check_mark: No migrations to apply!wrangler 3.78.0--persist-to--persist-tolocalc.env.DBhandleexport class SampleEndpoint extends OpenAPIRoute {
async handle(c) {
const stmt = await c.env.DB.prepare(...);
}
}