#v3: Unable to create first migration - Postgres beta.56
7 messages · Page 1 of 1 (latest)
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
Basically I'm using Docker and I can work on the admin without any problem, therefore when I want to create a migration Payload can't connect to my DB when it's exactly the same DATABASE_URI so I guess there is something that differs in the connection method that Payload uses to connect to the DB when it tries to create migrations and when it's in the admin.
Glad your issue was resolved! :tada: If you want to help make payload better, please give us a :star: on GitHub and review us - It helps us a lot.
@shut parrot Do you run the migration:create command inside the docker containers. For example like this:
docker compose exec CONTAINER_NAME npm run payload migrate:create
Ah you solved the problem yourself allready
I did but my problem was my docker port config