feat: scope articles by brand

This commit is contained in:
2026-05-20 15:37:25 +08:00
parent 5fb9d0b0dd
commit dd082e2ed1
72 changed files with 3213 additions and 432 deletions
@@ -0,0 +1,3 @@
CREATE INDEX IF NOT EXISTS idx_scheduler_job_runs_auto_started
ON ops.scheduler_job_runs (job_key, started_at DESC, id DESC)
WHERE trigger_type = 'auto';
@@ -0,0 +1 @@
DROP INDEX IF EXISTS ops.idx_scheduler_job_runs_auto_started;