my `dev` command ```sh NO_D1_WARNING=true ./node_modules/.bin/wrangler dev --persist-to=./tokens.sql

my
dev
command
NO_D1_WARNING=true ./node_modules/.bin/wrangler dev --persist-to=./tokens.sqlite --experimental-json-config

wrangler.json

{
  "$schema": "https://gist.githubusercontent.com/o-az/d298a1776165407ba63ee763d32f7a89/raw/7f87871dd9a5efb9d3cc147fac0174ebdc9858fa/wrangler.json",
  "name": "tokens",
  "workers_dev": true,
  "main": "./src/index.ts",
  "compatibility_date": "2023-05-18",
  "compatibility_flags": [ "nodejs_compat" ],
  "placement": { "mode": "smart" },
  "d1_databases": [
    {
      "binding": "database",
      "database_name": "tokens",
      "preview_database_id": "local-tokens-sqlite"
    }
  ]
}
Was this page helpful?