From e25c60eaf86f47b5657b8960d6f3a8fab1da9fbc Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Sun, 3 May 2015 14:08:02 -0700 Subject: [PATCH] PK typo --- sa/storage-authority.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa/storage-authority.go b/sa/storage-authority.go index 5a732b2fe..afe3c8ab4 100644 --- a/sa/storage-authority.go +++ b/sa/storage-authority.go @@ -182,7 +182,7 @@ func (ssa *SQLStorageAuthority) InitTables() (err error) { ssa.dbMap.AddTableWithName(Certificate{}, "certificates").SetKeys(false, "Serial") ssa.dbMap.AddTableWithName(CertificateStatus{}, "certificateStatus").SetKeys(false, "Serial").SetVersionCol("LockCol") ssa.dbMap.AddTableWithName(OcspResponse{}, "ocspResponses").SetKeys(true, "ID") - ssa.dbMap.AddTableWithName(Crl{}, "crls").SetKeys(false, "CreatedAt") + ssa.dbMap.AddTableWithName(Crl{}, "crls").SetKeys(false, "Serial") err = ssa.dbMap.CreateTablesIfNotExists() return