feat: add monitoring marked articles and retention updates
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
UPDATE ops.scheduler_jobs
|
||||
SET display_name = '监控历史保留清理',
|
||||
description = '按保留窗口和索引限批删除最近 30 天以前的监控历史数据。',
|
||||
config = config - 'external_article_mark_retention' - 'clears_manual_mark_attribution',
|
||||
updated_at = NOW()
|
||||
WHERE job_key = 'monitoring_retention_cleanup';
|
||||
@@ -0,0 +1,6 @@
|
||||
UPDATE ops.scheduler_jobs
|
||||
SET display_name = '监控历史与外部文章标记清理',
|
||||
description = '按保留窗口和索引限批删除监控历史;外部文章标记到期 6 个月后删除,并同步清理引用事实归因。',
|
||||
config = config || '{"external_article_mark_retention":"6 months","clears_manual_mark_attribution":true}'::jsonb,
|
||||
updated_at = NOW()
|
||||
WHERE job_key = 'monitoring_retention_cleanup';
|
||||
Reference in New Issue
Block a user