Local sqlite db is not created for D1 migrations

For Workers & Pages, what is the name of the domain?

locally_hosted.com

What is the issue or error you’re encountering

local sqlite db file not getting created while doing D1 migrations

What steps have you taken to resolve the issue?

Hello,
I’m following this guide to integrate prisma and d1 into my app

Everything was executing smoothly. however, the local file under .wrangler is not getting created.

however, I can see migrations under migration/ folder.

this is why command like wrangler d1 migrations list and wrangler d1 migrations apply --local are not working.

however , with --remote flag it’s working.

Idk why remote setup is not working.

^^" Idk why remote setup is not working." – it should be “Idk why local setup is not working.”

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.