aboutsummaryrefslogtreecommitdiff
path: root/server/store/sqldb.go
AgeCommit message (Collapse)Author
2018-08-08Misc fixesNiall Sheridan
- Add `fast_finish` to travis config - Specify that Go 1.9 is supported - Additional error checking which was previously missed - Make the migrations test better -
2018-08-07Unexport store implementationsNiall Sheridan
Return an error if the store isn't known, instead of defaulting to a mem store
2018-08-07Manage db schema with rubenv/sql-migrateNiall Sheridan
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes. Stop hard-coding the database name (the default is still "certs" for backward-compatibility) The `automigrate()` function will automatically run pending migrations. Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL. Migrations are shipped using the packr utility.
2018-06-20use mysql.NewConfig() to set defaults correctlyNiall Sheridan
2017-04-15Revoke multiple certs in a single callNiall Sheridan
2017-04-10fix behaviour of SQLStore.ListNiall Sheridan
2017-01-22Switch from database/sql to sqlxNiall Sheridan
2017-01-15Make CertStorer implementations publicNiall Sheridan
2016-12-28Allow building static binariesNiall Sheridan
sqlite uses CGO which prevents the building of statically-linked binaries. This change will omit sqlite support when building a static binary with: CGO_ENABLED=0 go build --ldflags '-extldflags "-static"'
2016-10-11Replace the 'datastore' option with a 'database' optionNiall Sheridan
The 'datastore' string option is deprecated and will be removed in a future version. The new 'database' map option is preferred.
2016-09-30Use json.NewDecoder to decode json from httpNiall Sheridan
2016-09-11Allow filtering resultsNiall Sheridan
2016-08-28List only certs which haven't expiredNiall Sheridan
2016-08-09SQLite DB supportNiall Sheridan