1 class ChangeDefaultFormats < ActiveRecord::Migration[4.2]
3 change_column_default :diary_entries, :body_format, "markdown"
4 change_column_default :diary_comments, :body_format, "markdown"
5 change_column_default :messages, :body_format, "markdown"
6 change_column_default :users, :description_format, "markdown"
7 change_column_default :user_blocks, :reason_format, "markdown"
11 change_column_default :diary_entries, :body_format, "html"
12 change_column_default :diary_comments, :body_format, "html"
13 change_column_default :messages, :body_format, "html"
14 change_column_default :users, :description_format, "html"
15 change_column_default :user_blocks, :reason_format, "html"