X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb..f051a7c1f5d1999558caa9d3cbe8c36f8ac39c9b:/db/migrate/015_add_user_visible.rb?ds=inline diff --git a/db/migrate/015_add_user_visible.rb b/db/migrate/015_add_user_visible.rb index 869f24c37..0c7184ada 100644 --- a/db/migrate/015_add_user_visible.rb +++ b/db/migrate/015_add_user_visible.rb @@ -1,4 +1,4 @@ -class AddUserVisible < ActiveRecord::Migration +class AddUserVisible < ActiveRecord::Migration[4.2] def self.up add_column "users", "visible", :boolean, :default => true, :null => false User.update_all(:visible => true)