forked from letsencrypt/boulder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SA/ARI: Add method of tracking certificate replacement (letsencrypt#7284
) Part of letsencrypt#6732 Part of letsencrypt#7038
- Loading branch information
1 parent
8d7e84b
commit f10abd2
Showing
14 changed files
with
1,069 additions
and
560 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
sa/db-next/boulder_sa/20240119000000_ReplacementOrders.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
-- +migrate Up | ||
-- SQL in section 'Up' is executed when this migration is applied | ||
|
||
CREATE TABLE `replacementOrders` ( | ||
`id` bigint(20) NOT NULL AUTO_INCREMENT, | ||
`serial` varchar(255) NOT NULL, | ||
`orderID` bigint(20) NOT NULL, | ||
`orderExpires` datetime NOT NULL, | ||
`replaced` boolean DEFAULT false, | ||
PRIMARY KEY (`id`), | ||
KEY `serial_idx` (`serial`), | ||
KEY `orderID_idx` (`orderID`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 | ||
PARTITION BY RANGE(id) | ||
(PARTITION p_start VALUES LESS THAN (MAXVALUE)); | ||
|
||
-- +migrate Down | ||
-- SQL section 'Down' is executed when this migration is rolled back | ||
|
||
DROP TABLE `replacementOrders`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.