Foreign-key restrictions

There should be some attributes to avoid deleting or updating an object which is referenced by other objects.

This is enforced by the database, and is already taken into consideration by Aurelius when creating the database.