From 99f385c56e0f02e0a0f82989209a07aa1b90d310 Mon Sep 17 00:00:00 2001 From: Roland Shoemaker Date: Sun, 3 May 2015 02:59:45 -0700 Subject: [PATCH] only add lock cols to tables that need them... --- sa/storage-authority.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sa/storage-authority.go b/sa/storage-authority.go index 6cbf58fab..c62120f6a 100644 --- a/sa/storage-authority.go +++ b/sa/storage-authority.go @@ -57,8 +57,6 @@ type Auth struct { Sequence int64 `db:"sequence"` Digest string `db:"digest"` core.Authorization - - Version int64 // Lock column } type Certificate struct { @@ -66,8 +64,6 @@ type Certificate struct { Digest string `db:"digest"` Content []byte `db:"content"` Issued time.Time `db:"issued"` - - Version int64 // Lock column } type CertificateStatus struct { @@ -84,16 +80,12 @@ type OcspResponse struct { Serial string `db:"serial"` CreatedAt time.Time `db:"createdAt"` Response []byte `db:"response"` - - Version int64 // Lock column } type Crl struct { Serial string `db:"serial"` CreatedAt time.Time `db:"createdAt"` Crl string `db:"crl"` - - Version int64 // Lock column } // Type converter