X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/edaddbedaec78a252e988e2271962407e64483fd..4eba549b5c0c2d01d0476ceaff894db6723177ee:/db/migrate/033_change_diary_entries_language.rb?ds=sidebyside diff --git a/db/migrate/033_change_diary_entries_language.rb b/db/migrate/033_change_diary_entries_language.rb index 674ae3d49..6c3ae7de2 100644 --- a/db/migrate/033_change_diary_entries_language.rb +++ b/db/migrate/033_change_diary_entries_language.rb @@ -1,4 +1,4 @@ -class ChangeDiaryEntriesLanguage < ActiveRecord::Migration +class ChangeDiaryEntriesLanguage < ActiveRecord::Migration[4.2] def self.up remove_column "diary_entries", "language" add_column "diary_entries", "language_code", :string, :null => false, :default => "en"