Hi, I am trying to migrate schema changes to my production Payload instance running inside a docker container.
My CMD in docker looks like this: CMD npm run payload:production migrate && node dist/server.js
The npm script for payload looks like this: "payload:production": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts NODE_ENV=production payload"
I thought this would disable the message where payload asks about changes, but I still see this:
? It looks like you've run Payload in dev mode, meaning you've dynamically pushed changes to your database.
Therefore my payload instance doesnt start up.
How can I just tell it to push the changes?
I have created the migration files locally using npm run payload migrate:create