dep update nosql

* Fixes #112
This commit is contained in:
max furman 2019-09-24 14:31:07 -07:00
parent c78a47620e
commit 83a8139543
3 changed files with 4 additions and 4 deletions

4
Gopkg.lock generated
View file

@ -232,7 +232,7 @@
[[projects]]
branch = "master"
digest = "1:9c1b7052fa8f2c918efd60ed5ae3c70ccbba08967c58ec71067535449a3ba220"
digest = "1:7d03323edb817ca94efaee5489cde6acd06ceeaca9e6eee106d2d6a90deca997"
name = "github.com/smallstep/nosql"
packages = [
".",
@ -242,7 +242,7 @@
"mysql",
]
pruneopts = "UT"
revision = "a0934e12468769d8cbede3ed316c47a4b88de4ca"
revision = "f80b3f432de0662f07ebd58fe52b0a119fe5dcd9"
[[projects]]
branch = "master"

View file

@ -113,7 +113,7 @@ fmt:
lint:
$Q LOG_LEVEL=error golangci-lint run
.PHONY: $(LINTERS) lint fmt
.PHONY: lint fmt
#########################################
# Install

View file

@ -55,7 +55,7 @@ func New(c *Config) (AuthDB, error) {
return nil, errors.Wrapf(err, "Error opening database of Type %s with source %s", c.Type, c.DataSource)
}
tables := [][]byte{revokedCertsTable, certsTable}
tables := [][]byte{revokedCertsTable, certsTable, usedOTTTable}
for _, b := range tables {
if err := db.CreateTable(b); err != nil {
return nil, errors.Wrapf(err, "error creating table %s",