commit | 4f669c654d0853c17a52051ff319248447e0ce78 | [log] [tgz] |
---|---|---|
author | Julie Qiu <julie@golang.org> | Thu Sep 16 10:54:07 2021 -0400 |
committer | Julie Qiu <julie@golang.org> | Thu Sep 16 16:02:55 2021 +0000 |
tree | 6ef7c0196c511968752363695418eea5deb9a1ee | |
parent | a6ed0e3022fe24e3b35c73130456f601c8b8990d [diff] |
migrations: add search_documents.unit_id unique constraint A unique index is added to search_documents.unit_id. This will allow us to add a FK in a later CL and provides another check for data in search_documents. Change-Id: I7681d7870bb4f2759da84fbd8131f5f692996cba Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/350252 Trust: Julie Qiu <julie@golang.org> 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.