DB Scheme

As explained already in other parts of the docs, you don't need to do any sql scheme yourself. All is generated automatically and out of the properties you have defined in your storables.

In the backend, when you are a user with the role dev and when you are locally in development mode , you have the option to update your scheme after a Storable property change in the sidebar.

If you deploy your applications to production and have any scheme update in it, Framelix will automatically update the scheme when you restart your Docker container. No worry, any change that will modify any existing column will not be executed automatically. For that you need to write your own appWarmup code in the Console class of your module.

There is a simple workflow to update your scheme by hand, if required.

Copy to clipboard

Also there are console commands in the docker container to update from the command line.

Copy to clipboard