20160310132620_move_loc_id_to_own_model.rb revision 5a102b3c56d4ac75632c7e9244ee0ce5bdbbf13a
CLASSES.each do |klass|
if locid.any?
else
end
end
end
end
TABLES.each { |table| remove_columns table, :locid }
end
TABLES.each { |table| add_column table, :locid }
LocId.find_each do |object|
update_attributes!(specific, locid: attrs[:locid])
end
end
# Sometimes the objects are "Ontology" and sometimes a subclass.
else
end
end
end
end