Added relationships table to database