I have issue when update module (add column to a table) on Production environment.
I added new columns to a table below:
db:
i updated model file before push to Production
In production the .forestadmin-schema.json is not updated to avoid configuration to be broken in case of error.
I think you just forgot to update / push the file into your production
This file is an hidden one (initial dot).
Provided you are using git, please try: git add .forestadmin-schema.json
and then commit/push to get the file onto production.
The .forestadmin-schema.json should be automatically generated (or updated) on you development environment each time the server starts.
You can take the file there and send it to your production environment. Either via source control as recommended above or via a simple file transfer.
On Linux and Mac OS you can find the hidden files with ls -a in the terminal.
You may need to manually make this new field visible. Activate edit mode with the paintbrush icon, and then use the left-most icon to show the field list.
Can you please tell me your project name (ideally the forest-project-id and forest-environment-id found in the network headers) so I can check the data received on our end?
We may have skipped a step. As Vince wrote earlier, the .forestadmin-schema.json file is not update in production. If you changed your models directly on your production environment this may explain the issue.
You need to update the models in development, start the project to refresh the schema file, and then send this updated schema to your production for it to update on the next restart.