You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide easy way to reset all data in databaseΒ #237
Reacted by Stephen Jensen, guog, Honest Charley Bodkin, Ben McCann, Connor BΓ€r, Thomas Kaul, Kelvin Mitaki, Domagoj Vukovic, Guillaume and Isaac Garcia
Here's an initial design proposal. It's not clear to me yet where the best location for this feature would be but this should get the ball rolling and unblock users. As part of #265 we should rethink this further.
Important: When clicking the button, the user should be prompted with a confirmation pop up.
Prisma ORM 7 introduces a brand new standalone Studio, built from the ground up to work everywhere, with or without Prisma ORM. Consequently, all "old Studio" issues are being closed as there won't be any further work on it. π£
The new Studio is also available in the Prisma VS Code extension and in the Prisma Console application. π
Help shape, improve and fix the new Studio with us in this repository by submitting bug reports and feature requests. π·
Activity
[-]Provide easy way to reset all data[/-][+]Provide easy way to reset all data in database[/+]schickling commentedon Nov 1, 2019
Here's an initial design proposal. It's not clear to me yet where the best location for this feature would be but this should get the ball rolling and unblock users. As part of #265 we should rethink this further.
Important: When clicking the button, the user should be prompted with a confirmation pop up.
schickling commentedon Nov 1, 2019
@madebysid can you implement the functionality for this yourself or does this depend on some (missing) SDK functionality?
sdnts commentedon Nov 1, 2019
It is possible, I'll run a
deleteManyon all models.1 remaining item
matthewmueller commentedon Mar 17, 2020
Personally, I'd prefer if we handle this in the CLI today with a workflow like
prisma truncate <models...>Then when we go for it, we have the following UI:
Something to improve Soren's workflow is exporting the models from
@prisma/client:I also think with Migrate will cover this use case better.
I'd very much prefer to leave this until post-Beta given that we have so many other fish to fry related to the databrowser.
anasouardini commentedon Aug 25, 2024
This still open!!! We need a
clearAllTablesmethod.igalklebanov commentedon Nov 20, 2025
Hey π
Prisma ORM 7 introduces a brand new standalone Studio, built from the ground up to work everywhere, with or without Prisma ORM. Consequently, all "old Studio" issues are being closed as there won't be any further work on it. π£
The new Studio is also available in the Prisma VS Code extension and in the Prisma Console application. π
Help shape, improve and fix the new Studio with us in this repository by submitting bug reports and feature requests. π·