Support prisma `migrate reset` / `prisma db reset` on MongoDB
See original GitHub issueIt would be convenient for tests and local development, in concert with db seed.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Prisma Migrate limitations and known issues
In a development environment, Prisma Migrate sometimes prompts you to reset the database. Resetting drops and recreates the database, which results in data ......
Read more >prisma migrate reset - Fig.io
Reset your database and apply all migrations, all data will be lost. ... this help message. --schema <Schema path>, Custom path to your...
Read more >Effortless database schema migration with Prisma
In dev environments, Prisma Migrate may sometimes send a prompt to reset the database; this, unfortunately, leads to data loss in your dev ......
Read more >Automatic Prisma migrations - PlanetScale
From a high level, Prisma's db push introspects your PlanetScale database to infer and execute the changes required to make your database schema ......
Read more >How to migrate mongodb schema using prisma? (to create ...
Doesn't npx prisma db push command work for you? migrate dev command is not supported for MongoDB. – Nurul Sundarani. Oct 14 at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Do we see this one happening sometime in the next 6 weeks? If not, I’ll move it to After GA.
Since
migratedoes not supportMongoDB, havingmigrate resetdoesn’t sound like an option.A
db resetordb dropcommand could make sense, but these don’t exist for any connector.