commit | 22658f36ef3de1921ed4e634e9dd68aa467fb005 | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Fri Aug 13 11:06:09 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Fri Aug 13 19:56:12 2021 +0000 |
tree | 90c64b76a0955fe437d778ed6d91a9562ff2c5b1 | |
parent | eb20e7607d6d6c57710b5d967c1d51fd0e1e4034 [diff] |
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>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.