Is there any specific way, or plans for a way, to see storage used by each table and, not sure if po
Is there any specific way, or plans for a way, to see storage used by each table and, not sure if possible, each index?
no such table: dbstatSQLITE_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>no such table: dbstatSQLITE_ENABLE_DBSTAT_VTABarray (oneOf) [objects]database_iddatabase_id.mf/d1/miniflare-D1DatabaseObject/{hash}.sqlitewrangler d1 migrations apply DB --local --persist-to ./.mf.mf/v3/d1/miniflare-D1DatabaseObject/{hash}.sqlite/v3/.wrangler/state/v3/d1/miniflare-D1DatabaseObject/{hash}.sqlitev3.28.3path.wranglerimport { Miniflare } from 'miniflare'
const mf = new Miniflare({
d1Databases: ["DB"],
modules: true,
script: "",
d1Persist: true,
})