Backfill pattern analysis flag on existing banners

Set pattern_analysis_requested_at on all existing banners so the worker
runs once per banner on release and merges any existing prefix groups.

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-04-29 14:49:12 +04:00
parent 7caa098941
commit 22fd103795
2 changed files with 16 additions and 14 deletions

View File

@@ -14,3 +14,5 @@
ALTER TABLE cookie_banners
ADD COLUMN pattern_analysis_requested_at TIMESTAMP WITH TIME ZONE;
UPDATE cookie_banners SET pattern_analysis_requested_at = NOW();