Added relations between entities in a database