about summary refs log tree commit diff
path: root/db/migrate/20171201000000_change_account_id_nonnullable_in_lists.rb
blob: ac86c9e777d825bd3326f4991a6ff942c009dc3e (plain) (blame)
1
2
3
4
5
6
7
class ChangeAccountIdNonnullableInLists < ActiveRecord::Migration[5.1]
  def change
    safety_assured do
      change_column_null :lists, :account_id, false
    end
  end
end