Added foreign key and unique constraint to table info