If you set `preview_database_id` (per https://developers.cloudflare.com/d1/platform/migrations/#wran
If you set
preview_database_id (per https://developers.cloudflare.com/d1/platform/migrations/#wrangler-customizations) and use wrangler d1 migrations apply <db-name> --local -> you can apply migrations locally to seed the DB. As above, you can also do that programatically via your test harnessDatabase migrations are a way of versioning your database. Each migration is stored as an .sql file in your migrations folder. The migrations folder …

