save checkpoint
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- SPDX-License-Identifier: BUSL-1.1
|
||||
-- Scanner artifact_boms hot-lookup partition maintenance jobs
|
||||
-- Sprint: SPRINT_20260210_001_DOCS_sbom_attestation_hot_lookup_contract
|
||||
-- Task: HOT-005
|
||||
|
||||
-- Pre-create current and next month partitions.
|
||||
SELECT partition_name
|
||||
FROM scanner.ensure_artifact_boms_future_partitions(1);
|
||||
|
||||
-- Dry-run retention preview (default keeps 12 months).
|
||||
SELECT partition_name, dropped
|
||||
FROM scanner.drop_artifact_boms_partitions_older_than(12, TRUE);
|
||||
|
||||
-- Retention execution example (uncomment when validated).
|
||||
-- SELECT partition_name, dropped
|
||||
-- FROM scanner.drop_artifact_boms_partitions_older_than(12, FALSE);
|
||||
Reference in New Issue
Block a user