clair/database/pgsql
Nick Platt aea74550e1 pgsql: Expand layer, namespace column widths
Presently the layer and namespace tables use type `varchar(128)` for
their respective name columns. For layer, this width works fine enough
using the sha256 digests provided by docker. However, if one wishes to
encode the image name into the layer  name (eg, to avoid collisions like
in [0]), the limit of 128 bytes starts to feel a bit cramped. Bump to
256 bytes, since that "ought to be enough for anybody." (TM)

[0]: https://github.com/coreos/clair/issues/319
2017-05-19 18:22:04 -04:00
..
migrations pgsql: Expand layer, namespace column widths 2017-05-19 18:22:04 -04:00
testdata add registerable version formats 2016-12-30 12:51:24 -05:00
complex_test.go clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00
feature_test.go versionfmt: convert to using constant over literal 2017-01-03 16:00:20 -05:00
feature.go pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
keyvalue_test.go add registerable version formats 2016-12-30 12:51:24 -05:00
keyvalue.go pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
layer_test.go clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00
layer.go utils: remove string.go 2017-01-22 23:02:51 -05:00
lock_test.go add registerable version formats 2016-12-30 12:51:24 -05:00
lock.go pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
namespace_test.go versionfmt: convert to using constant over literal 2017-01-03 16:00:20 -05:00
namespace.go pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
notification_test.go clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00
notification.go pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
pgsql_test.go move config to main / decentralize config 2017-01-27 00:36:13 -05:00
pgsql.go move config to main / decentralize config 2017-01-27 00:36:13 -05:00
queries.go pgsql: only select distinct layers 2017-01-19 17:09:57 -05:00
vulnerability_test.go clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00
vulnerability.go database/pgsql: copy whole namespace 2017-02-23 02:05:33 -05:00