Skip to content
Snippets Groups Projects
Commit 85047e97 authored by Niall Sheridan's avatar Niall Sheridan
Browse files

Add indexes

parent 4e29aef6
No related branches found
No related tags found
No related merge requests found
......@@ -11,3 +11,5 @@ CREATE TABLE `issued_certs` (
`raw_key` text,
PRIMARY KEY (`key_id`)
);
CREATE INDEX `idx_expires_at` ON `issued_certs` (`expires_at`);
CREATE INDEX `idx_revoked_expires_at` ON `issued_certs` (`revoked`, `expires_at`);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment