Using --local with workers and D1
Not sure if this is expected, or if I'm doing something wrong here...
Having issues with getting a hello-world D1 Database setup using wrangler.jsonc and an explicit migrations_dir.
I can't get migrations to be applied, even running explicitly.
Running migrations apply, the wrong migration dir is being read (cf-iterate-test/branch-worker/migrations instead ofcf-iterate-test/branch-worker/apps/hello-world/database/migrations/0000_initial.sql)
Running execute HELLO_WORLD_DB, the DB isn't found.
The migrations definitely exist in the expected directory
The wrangler.jsonc definitely seems correct when compared to docs
I'm assuming
database_id
isn't needed when using --local?0 Replies