Skip to content

Commit d8c5e81

Browse files
committed
Add an index on serials to the revokedCertificates table
1 parent 9ba099e commit d8c5e81

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- +migrate Up
2+
-- SQL in section 'Up' is executed when this migration is applied
3+
4+
ALTER TABLE `revokedCertificates` ADD KEY `serial` (`serial`);
5+
6+
-- +migrate Down
7+
-- SQL section 'Down' is executed when this migration is rolled back
8+
9+
ALTER TABLE `revokedCertificates` DROP KEY `serial`;

0 commit comments

Comments
 (0)