aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2021-08-13 11:06:09 -0400
committerJulie Qiu <julie@golang.org>2021-08-13 19:56:12 +0000
commit22658f36ef3de1921ed4e634e9dd68aa467fb005 (patch)
tree90c64b76a0955fe437d778ed6d91a9562ff2c5b1 /internal/postgres/insert_module_test.go
parenteb20e7607d6d6c57710b5d967c1d51fd0e1e4034 (diff)
downloadgo-x-pkgsite-22658f36ef3de1921ed4e634e9dd68aa467fb005.tar.xz
migrations: drop module_version_states.index_timestamp not null
When a module is requested for the first time through frontend fetch, the index_timestamp should be null, since the module has never appeared in the index before. Drop the not null constraint on module_version_states.index_timestamp to make this possible. For golang/go#46985 Change-Id: I7f08c35307aec485fb212e490031e809971c9341 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/341891 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
0 files changed, 0 insertions, 0 deletions