SQLITE_ENABLE_DBSTAT_VTAB)workerdarray (oneOf) [objects] next to the bindings until you find the D1 one.
database_id vs id was fixed though, since the API does return database_id in a few places, so I'll ask the team on Monday..mf/d1/miniflare-D1DatabaseObject/{hash}.sqlite. But if I run wrangler d1 migrations apply DB --local --persist-to ./.mf it creates a new db at .mf/v3/d1/miniflare-D1DatabaseObject/{hash}.sqlite instead (note the extra /v3/)..wrangler/state/v3/d1/miniflare-D1DatabaseObject/{hash}.sqlitev3.28.3, and if I add path to wrangler.toml like you have it does nothing. The migration script still targets the .wrangler folderBearer <token>import { Miniflare } from 'miniflare'
const mf = new Miniflare({
d1Databases: ["DB"],
modules: true,
script: "",
d1Persist: true,
})