Commit ae1672f5 authored by Simon Tomlinson's avatar Simon Tomlinson Committed by Andreas Brandl

Apply the strategy to webhook logs

parent 1d66456d
......@@ -9,7 +9,7 @@ class WebHookLog < ApplicationRecord
self.primary_key = :id
partitioned_by :created_at, strategy: :monthly
partitioned_by :created_at, strategy: :monthly, retain_for: 3.months
belongs_to :web_hook
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment