How do I completely delete the prisma database?


#1

Prisma is giving me some weird error

"message": "There is a relation ambiguity during the migration. Please first name the old relation on your schema. The ambiguity is on a relation between Service and Trade. Please name relations or change the schema in steps.",

that I don’t care about, I just want to completely start over. How do I delete anything and everything that has to do with this database from prisma?


#2

I’ve tried prisma reset --force and prisma deploy --force


#3

Prisma delete. Check link for reference.


#4

THANK YOU

Asdfasdfasdf


#5

So, I did prisma delete --force, but it doesn’t actually work, because I still get the same error (There is a relation ambiguity during the migration. Please first name the old relation on your schema.).

But when I create a new database, I don’t get that error.

So, obviously prisma delete doesn’t actually delete the entire database.


#6

Also, when I do prisma ls, it says no deployed services.