X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3c85b2ceea7e030f580d3febfad9f2b0c3217303..8accdb9259d1bfc75d76148b2e8daa06981713cb:/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 d870dfffd..869f24c37 100644 --- a/db/migrate/015_add_user_visible.rb +++ b/db/migrate/015_add_user_visible.rb @@ -1,7 +1,7 @@ class AddUserVisible < ActiveRecord::Migration def self.up add_column "users", "visible", :boolean, :default => true, :null => false - User.update_all("visible = 1") + User.update_all(:visible => true) end def self.down