20171201000000_change_account_id_nonnullable_in_lists.rb 207 B

123456789
  1. # frozen_string_literal: true
  2. class ChangeAccountIdNonnullableInLists < ActiveRecord::Migration[5.2]
  3. def change
  4. safety_assured do
  5. change_column_null :lists, :account_id, false
  6. end
  7. end
  8. end