X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa4205482a4af317ec26fc686793b57f02a6864a..758e6da9a80e2e53a171ebc3119f813f8ff4141c:/db/migrate/20120214210114_add_text_format.rb?ds=sidebyside diff --git a/db/migrate/20120214210114_add_text_format.rb b/db/migrate/20120214210114_add_text_format.rb index f448223c3..5b4455f58 100644 --- a/db/migrate/20120214210114_add_text_format.rb +++ b/db/migrate/20120214210114_add_text_format.rb @@ -2,7 +2,7 @@ require 'migrate' class AddTextFormat < ActiveRecord::Migration def up - create_enumeration :format_enum, ["html", "markdown"] + create_enumeration :format_enum, ["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"