Add PostgreSQL constraints for the finance model
Add PostgreSQL constraints for the finance model

PostgreSQL supports sophisticated data integrity check mechanisms, such as
CHECK CONSTRAINTS with user-defined functions or CONSTRAINT TRIGGERS.
We can use these mechanisms to ensure complex data integrity requirements
directly in the database, without resorting to SQLAlchemy, which can be
bypassed easily.

agdsn/pycroft,lukasjuhrich/pycroft,lukasjuhrich/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,agdsn/pycroft,lukasjuhrich/pycroft,agdsn/pycroft,agdsn/pycroft