Join Slack
Powered by
Does anyone know what’s the best approach to reset...
# orm-help
b
bntzio
11/16/2020, 11:32 PM
Does anyone know what’s the best approach to reset everything (migrations, tables, prisma generated schemas, etc) ?
bntzio
11/16/2020, 11:33 PM
I’m still under a development db so I don’t mind starting from scratch
bntzio
11/16/2020, 11:34 PM
Just dropping the db and deleting the migrations directory is enough?
k
KJReactor
11/17/2020, 1:39 AM
That's the approach I've taken so far.
KJReactor
11/17/2020, 1:40 AM
sometimes you have to delete migrations to allow changes to be made. I currently have the migrations folder in my gitignore until during development
r
Ryan
11/17/2020, 7:11 AM
Yeah that should be enough
@bntzio
👍
👍 1
j
Joël
11/17/2020, 8:55 AM
Hi! If you’re interested, we’re working on Migrate and we’re looking for feedback on a new early access version 😃 Check this
https://prisma.slack.com/archives/C01739JGFCM/p1604078848016200
3
Views
Open in Slack
Previous
Next