Prisma doesn't update the db in my container
I have created a T3 app with postgres db. The start-database script creates a container as it should, but when I run npx prisma db push, nothing happens to db in my container, even though prisma says the db is in sync with my prisma scheme. I have opened the db in prisma studio and tried adding data, which gets stored, which leads me to believe there is a local database that prisma is connected to (?). I don't understand why it doesn't connect to my container db. I have a silicon mac, and this worked perfectly fine on both windows and linux pc as far as I know (could be irrelevant).
The pictures attached are the commands I ran to make the db, proof that there is nothing in my container db in docker, and proof that there are columns in the db in prisma studio.
I had to change out the username for my root username to even have access to the container, after some online digging: .
Any help as to what i'm doing wrong is really appreciated!



0 Replies