Cannot Interact with D1 Locally on Cloudflare Pages

Hi I'm currently facing an issue, i'm getting an error D1_ERROR: no such table:

But if I publish the project and access it, it works.
I don't know if I'm missing something.

I have a wrangler.toml file in my pages, that connect the D1.

Would appreciate if anyone could share how to fix it!
Was this page helpful?