`wrangler pages dev`, error in _worker.js can't find D1 table

I've been trying to run locally a Pages project but i keep getting an error in my _worker.js.
The D1 table i'm trying to work on cannot be found. The issue doesn't happen in prod.
my wrangler.toml was generated with wrangler pages download config so it should be fine.

i noticed there is no --remote option (as when working with workers)
Was this page helpful?