about summary refs log tree commit diff
path: root/db/migrate/20200817003033_add_defaults_to_conversations.rb
blob: fc3c0ceeec8df09420b42b73f4893ca17af645ee (plain) (blame)
1
2
3
4
5
6
7
8
class AddDefaultsToConversations < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      change_column :conversations, :account_id, :bigint, default: nil
      change_column :conversations, :root, :string, default: nil
    end
  end
end