I am getting started with Prisma v1. I mistakenly ...
# orm-help
r
I am getting started with Prisma v1. I mistakenly deleted some of my tables from Postgres DB. Now when I do
prisma deploy
It gets errored reporting about missing tables. I have tried to clean my database, docker instance (deleted the container), recomposing docker for prisma bit no luck at all.
prisma delete
is also having error! Can someone guide me here? I want a fresh start with Prisma v1 & Docker.
r
Hey @Rahul Bhooteshwar 👋 Could you delete the DB and run
prisma deploy
again?
r
Tried removing DB & setting up a new one also didn't work. Unisntalled & reinstalled Docker & tried with new database, after 2-3 attempts finally it worked. Hoping to see easy ways of doing it in v2 without the need of Docker ;)
r
If you're getting started, I would suggest using Prisma 2. It doesn't require Docker and there are lots of examples that you can start with here.
r
Thanks @Ryan. I am planning to explore the same as well. I got stuck with Prisma v1 as I was following a Udemy GraphQL tutorial. Now I am feeling comfortable abt things & ready to explore v2.
💯 1
r
Do let me know how it goes 🙂
r
Sure 👍