Files
vctp2/db/migrations/20250116102000_snapshot_registry_indexes.sql
Nathan Coad 434c7136e9
All checks were successful
continuous-integration/drone/push Build is passing
more optimisation
2026-01-14 21:30:10 +11:00

6 lines
195 B
SQL

-- +goose Up
CREATE INDEX IF NOT EXISTS idx_snapshot_registry_type_time ON snapshot_registry (snapshot_type, snapshot_time);
-- +goose Down
DROP INDEX IF EXISTS idx_snapshot_registry_type_time;