Skip to content

A platform for community discussion. Free, open, simple.

208 B
Raw Blame
# frozen_string_literal: true

class AddBounceKeyIndexOnEmailLogs < ActiveRecord::Migration[5.2]
  def change
    add_index :email_logs, [:bounce_key], unique: true, where: "bounce_key IS NOT NULL"
  end
end