Add index on payments.correlation_id
This commit is contained in:
parent
55fece0233
commit
8d829ddf36
2
init.sql
2
init.sql
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user