X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b33f3f8e31c62bc3e5db1d5b120533c3afdde68..22e079a3c3c98fe3cf3b727732af0b2c92ff075f:/db/migrate/20120214210114_add_text_format.rb diff --git a/db/migrate/20120214210114_add_text_format.rb b/db/migrate/20120214210114_add_text_format.rb index 165524d2c..be8089a74 100644 --- a/db/migrate/20120214210114_add_text_format.rb +++ b/db/migrate/20120214210114_add_text_format.rb @@ -1,6 +1,4 @@ -require "migrate" - -class AddTextFormat < ActiveRecord::Migration +class AddTextFormat < ActiveRecord::Migration[4.2] def up create_enumeration :format_enum, %w[html markdown text] add_column :users, :description_format, :format_enum, :null => false, :default => "html"