2 min read · Websites and web apps

Create, read, update and delete are only part of the business rules. Reference keys, relationships and integrity constraints. Changing a status is different from deleting history.
Implementation steps
- Pick the service request process
- Separate users, customers, requests and history entries
- Specify the relationships and the fields that must have a value
- Try the case of a customer who is deactivated but still has open work
Example deliverable
Deliverable: a data model with sample records that are related to each other
Benefits
Helps reduce duplicate data and sets the business rules from the start.
Limitations and cautions
A model that is too simple may not support the real history and conditions of the business.
Starting references
- MDN — Client-server overview
- PostgreSQL — Constraints
References
- MDN — Client-server overview (accessed 2026-11-21)
- PostgreSQL — Constraints (accessed 2026-11-21)




