Skip to content

Commit

Permalink
MySQL: Certificate Serial Number should be 128 in length. (cloudflare…
Browse files Browse the repository at this point in the history
…#704)

Modified previous migration as per @lziest suggestion.

Fixes cloudflare#703
  • Loading branch information
drf authored and lziest committed Dec 27, 2016
1 parent 371bf7d commit 74511c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion certdb/mysql/migrations/001_CreateCertificates.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
-- SQL in section 'Up' is executed when this migration is applied

CREATE TABLE certificates (
serial_number varbinary(20) NOT NULL,
serial_number varbinary(128) NOT NULL,
authority_key_identifier varbinary(128) NOT NULL,
ca_label varbinary(128),
status varbinary(128) NOT NULL,
Expand Down

0 comments on commit 74511c4

Please sign in to comment.