]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20191120140058_remove_nearby_from_users.rb
Enable rails 7.1 changes to model callbacks
[rails.git] / db / migrate / 20191120140058_remove_nearby_from_users.rb
1 class RemoveNearbyFromUsers < ActiveRecord::Migration[5.2]
2   def change
3     # We've already ignored this column in the model, so it is safe to remove
4     safety_assured { remove_column :users, :nearby, :integer, :default => 50 }
5   end
6 end