class AddWafPolicyToRules < ActiveRecord::Migration[8.1]
  def change
    add_reference :rules, :waf_policy, null: true, foreign_key: true
    add_index :rules, :waf_policy_id, name: "idx_rules_waf_policy"
  end
end
