Data
Migrations, database driver factories, and the Cloudflare D1 pattern.
- Migrations —
norns migrateand themigrations/<feature>/layout. - Drivers —
betterSqlite,d1,libsql,postgresandwithTransaction. - Cloudflare D1 — binding a per-request D1 handle and applying migrations with wrangler.
Norns takes no position on how you query. The reference apps use hand-written SQL on the raw driver; the driver factories give you a Drizzle instance if you want one.