chore(db): add job_audit brin index
BRIN-индекс по created_at для retention-удалений. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
1 parent
990cc739df
commit
21233bd578
4 files changed
+5
No files matched your search
@@ -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