repair broken associations and add foreign keys to prevent future seeds mishaps