Declaritive Referential Integrity (DRI).

This refers to providing integrity restrictions for data within or between tables in a database.

Foreign keys, primary keys, and unique constraints can be used to enforce this.

This is a better idea than using triggers, which can turn into an absolute nightmare.