about summary refs log tree commit diff
path: root/db/migrate/20180310000000_change_columns_in_notifications_nonnullable.rb
blob: 05ffd050104d8620fdcb864b30b1998462a65cc5 (plain) (blame)
1
2
3
4
5
6
7
8
class ChangeColumnsInNotificationsNonnullable < ActiveRecord::Migration[5.1]
  def change
    change_column_null :notifications, :activity_id, false
    change_column_null :notifications, :activity_type, false
    change_column_null :notifications, :account_id, false
    change_column_null :notifications, :from_account_id, false
  end
end