Added referential integrity constraints in the database definition file