X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..afa3a3728d4b7b4b8b560cbf3ad248388d474467:/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 6ec84ce44..2fcb77d46 100644 --- a/db/migrate/20120214210114_add_text_format.rb +++ b/db/migrate/20120214210114_add_text_format.rb @@ -1,8 +1,6 @@ -require "migrate" - class AddTextFormat < ActiveRecord::Migration[4.2] def up - create_enumeration :format_enum, %w[html markdown text] + create_enum :format_enum, %w[html markdown text] add_column :users, :description_format, :format_enum, :null => false, :default => "html" add_column :user_blocks, :reason_format, :format_enum, :null => false, :default => "html" add_column :diary_entries, :body_format, :format_enum, :null => false, :default => "html"