added unique-foreign key and foreign key to each install.xml