Postgres DB Wiped?

I set up a postgres db in Vercel to follow Theo's t3 tutorial. I haven't worked on it in a few weeks but just went to look at it and it said I had no data. When I tried to run the prisma studio I got an error saying it couldnt run a query to get a count of undefined (assuming all tables have been removed). I ran npx prisma migrate dev and the table structure is now working but all data is obviously gone and a few new files have been created (migration file and migration lock file) I have no idea how this happened and didn't lose anything important, but is there any way to see the history of the db to see what couldve happened so it doesnt happen again?
0 Replies
No replies yetBe the first to reply to this messageJoin