about summary refs log tree commit diff
path: root/db/migrate/20171010025614_change_accounts_nonnullable_in_account_moderation_notes.rb
blob: 62725c88df7e62ce821570b4619d742e27a89172 (plain) (blame)
1
2
3
4
5
6
7
8
class ChangeAccountsNonnullableInAccountModerationNotes < ActiveRecord::Migration[5.2]
  def change
    safety_assured do
      change_column_null :account_moderation_notes, :account_id, false
      change_column_null :account_moderation_notes, :target_account_id, false
    end
  end
end