X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53b4d645d80cbe4ac397cfc004e8985317aed6a8..a33174acb8ebf4cff67281889ceca940b6b5a48b:/db/migrate/032_add_user_locale.rb?ds=sidebyside diff --git a/db/migrate/032_add_user_locale.rb b/db/migrate/032_add_user_locale.rb index 4d00fc1a1..54c2eb258 100644 --- a/db/migrate/032_add_user_locale.rb +++ b/db/migrate/032_add_user_locale.rb @@ -1,6 +1,6 @@ -class AddUserLocale < ActiveRecord::Migration +class AddUserLocale < ActiveRecord::Migration[4.2] def self.up - add_column "users", "locale", :string, :default => "en", :null => false + add_column "users", "locale", :string end def self.down