X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53b4d645d80cbe4ac397cfc004e8985317aed6a8..1998051704429b7f2a6df8e19990ef3e2bd8e8b5:/db/migrate/032_add_user_locale.rb 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