If you upgrade to wrangler v3, the local database will be in a different location `./.wrangler/state

If you upgrade to wrangler v3, the local database will be in a different location ./.wrangler/state/v3/d1/<UUID>/db.sqlite instead of ./.wrangler/state/d1/DB.sqlite3

I think it might be as simple as copying it over to the new location, but I haven't tried it myself.
Was this page helpful?