chore(db): add job_audit brin index
BRIN-индекс по created_at для retention-удалений. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
DROP INDEX IF EXISTS idx_job_audit_created_brin;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
CREATE INDEX IF NOT EXISTS idx_job_audit_created_brin
|
||||||
|
ON job_audit USING BRIN (created_at);
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
DROP INDEX IF EXISTS idx_job_audit_created_brin;
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
CREATE INDEX IF NOT EXISTS idx_job_audit_created_brin ON job_audit (created_at);
|
||||||
Reference in New Issue
Block a user