Models
A model is the highest level of organization in Primentra. It represents a business domain — a broad category that groups related data together.
For example, you might create separate models for:
- Customer Management — everything related to customers
- Product Management — all product-related master data
- Supplier Management — data about your suppliers
Models keep different business areas neatly separated. Users and roles can be granted access at the model level, so you control who can work with which domain.
Create a model:
- Go to Settings → Models
- Click New model
- Fill in: Name, Description, Schema Name
- Click Save
Active / Inactive: When a model is set to Inactive, it is hidden from regular users in the navigation and data views. Data within the model cannot be edited through the UI. The underlying data remains in the database — nothing is deleted.
Reorder models: Drag the drag handle (six-dot icon) on any model card to change its position in the sidebar. You can also use the up/down arrows on each card. The new order is saved automatically.
Edit or delete a model using the action buttons on each model card. Deleting a model also removes all its entities.
Deleting a model requires typing the model name to confirm. A real-time progress bar shows each phase of the deletion — attribute values, approval rows, and entity rows — with a percentage and running count (e.g. "45,000 / 200,000 items deleted"). For models with 10,000+ total rows, a warning appears in the confirmation dialog advising that the database transaction log may grow significantly and should be shrunk afterward.