Add index on payments.correlation_id

This commit is contained in:
Jose Eduardo 2025-08-17 18:37:56 -04:00
parent 55fece0233
commit 8d829ddf36

View File

@ -4,3 +4,5 @@ CREATE UNLOGGED TABLE payments (
payment_processor VARCHAR(10), payment_processor VARCHAR(10),
created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
); );
CREATE INDEX idx_payments_correlation_id ON payments (correlation_id);