After migrating to 2025.06 , I noticed that after I update my models (e.g. add some field to a document model), it’s not enough to restart the backend to see the changes, I also need to drop the existing Postgres database and start with a new one.
The strange thing is that the models seem to be updated in the database, but unless I am starting with a new database, I will be still getting the former ones.
Is there some configuration that I am missing or something like that?
Updating of models should work without additional code. The caches should be invalidated automatically.
Can you please provide more information?
How are you updating models ? init-app, initialization sequence of the dataservices-server-app, HTTP call
How are you checking if the new version of model is available ? Are you checking in process via extension point, via HTTP request, call to the DS API ?
What configuration do you use ?
Do you use some extension points for updating of models?
I need answers to these questions so we would be able to reproduce it locally.
Hello @i.ursu , I am a member of the Discourse team. I can see that there was a new response to your question on the Topic of the discussion. Do you find it helpful, or should the question remain open?
Thanks ahead for your feedback and have a nice rest of the day!
Hello @i.ursu , I am a member of the Discourse team. I can see that there was a new response to your question on Updates to models are not reflected after server start. Do you find it helpful, or should the question remain open?
Thanks ahead for your feedback and have a nice rest of the day!