X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f8a68371ad34594cce4aadf5fef229588fd4ddc..701334bcc6f9cd31831fc8e62b1321ded4491c97:/db/migrate/015_add_user_visible.rb?ds=sidebyside diff --git a/db/migrate/015_add_user_visible.rb b/db/migrate/015_add_user_visible.rb index 869f24c37..561c767c3 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[5.0] def self.up add_column "users", "visible", :boolean, :default => true, :null => false User.update_all(:visible => true)