The data model resides in a database of type mySQL or MariaDB.
The created data model is the product of the application definition as entered by the user.
The data model is fully normalised. Tables may have a parent child relationship, and refential integrity is automatically maintained. The parent-child relationship may be nested, with no limit.
All defined tables in the user interface represent a database table.
These are the table names that are reserved, which the generator will not permit the user to use :
Every table has five reserved field names that the generator will not permit the user to define :
Each table may may optionally be configured to have a corresponding Audit table, where transaction audits are stored.o
Audit tables are automatically named are [table-name]_aud.
Field type mappings.
UI Field Type | Database Field Type |
---|---|
number | integer |
number, precision | decimal, precision |
varchar | varchar |
datetime | timestamp |
One view is created for every database table.
Row select for data display is performed against the view, not the table.
Row select for data search is performed against the view, not the table.
All insert, update and delete operations are performed using a stored procedure.
All data inserts and updates use triggers to set the row creation time, row modification time, and the user name that creates or modifies a row.
Triggers can be overridden and customised, provided the generated trigger code is preserved in the override.