class CreateSendings < ActiveRecord::Migration
  def change
    create_table :sendings do |t|
      t.references :notification, index: true, foreign_key: true
      t.string :type
      t.timestamp :sending_at

      t.timestamps null: false
    end
  end
end

Add sending migration to create sendings table
Add sending migration to create sendings table