Replies: 1 comment 1 reply
-
Hey @woo94 — Is this what you're referring to? The fact that We can definitely update our docs to add more clarity though. I think that would be good. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link to reproduction
Restart the server
Describe the Bug
push: true option on postgresAdapter is not reflected to the real database.
[02:01:35] ERROR (payload): error: column "nn" does not exist
at /Users/woo94/Desktop/artistravel.io/my-duck-map-backend/node_modules/pg/lib/client.js:526:17
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /Users/woo94/Desktop/artistravel.io/my-duck-map-backend/node_modules/src/node-postgres/session.ts:64:19
at async find (/Users/woo94/Desktop/artistravel.io/my-duck-map-backend/node_modules/@payloadcms/db-postgres/src/find/findMany.ts:159:19)
at async find (/Users/woo94/Desktop/artistravel.io/my-duck-map-backend/node_modules/payload/src/collections/operations/find.ts:145:16)
at async findHandler (/Users/woo94/Desktop/artistravel.io/my-duck-map-backend/node_modules/payload/src/collections/requestHandlers/find.ts:30:20)
The phrase "development mode only" is very ambiguous. I thought I could enter development mode by adding NODE_ENV=development to the .env file, but that wasn't the case either.
https://payloadcms.com/docs/database/postgres#options doesn't help me at all
To Reproduce
here is my code
Restart the server doesn't change the table columns.
Payload Version
2.25.0
Adapters and Plugins
db-postgres, bundler-webpack
Beta Was this translation helpful? Give feedback.
All reactions