Datamodel¶
Introduction¶
oQtopus downloads the source code from the configured repository and looks for a PUM configuration file at:
This file defines the database schema, migration scripts, parameters, roles and more. See the PUM documentation for details.
Demo data¶
Demo data should be provided as plain SQL content. You can define several demo data sets (see the PUM demo data documentation).
Demo data must be compatible with the latest version of the datamodel. When updating the datamodel on the repository, an automated test checks that the demo data is still compliant.
If the demo data becomes incompatible after introducing a datamodel change, the recommended approach is:
- Install the previous version of the datamodel.
- Load the demo data.
- Run the upgrade to the latest version.
- Dump the demo data as plain SQL.
- Include the demo data in the code change request.