fluxer/fluxer_devops/cassandra/migrations/20260114000000_csam_evidence_expirations.cql
2026-02-17 12:22:36 +00:00

7 lines
222 B
SQL

CREATE TABLE IF NOT EXISTS fluxer.csam_evidence_expirations (
bucket text,
expires_at timestamp,
report_id bigint,
PRIMARY KEY ((bucket), expires_at, report_id)
) WITH CLUSTERING ORDER BY (expires_at ASC);