renamed uuid foreign key to :base_uuid