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