aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module.go
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2020-10-26 21:31:55 -0400
committerJulie Qiu <julie@golang.org>2020-10-27 15:02:44 +0000
commitb8a5f3352eb6c4e418276c79fb62b42d97a0f2cb (patch)
tree57bc8f9b1e45ccfa99cd903fccd7979b5b075385 /internal/postgres/insert_module.go
parente6f91f6d17b89ba672f7f8594678a9552518b6a2 (diff)
downloadgo-x-pkgsite-b8a5f3352eb6c4e418276c79fb62b42d97a0f2cb.tar.xz
migrations: add licenses_module_id_file_path
A unique index is added to licenses(module_id, file_path). This is temporary to enable insertLicenses, until the PK is switched. For golang/go#39629 Change-Id: Iba9d5da93e8dffe477cada454a84248bd48a9b3c Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/265240 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'internal/postgres/insert_module.go')
0 files changed, 0 insertions, 0 deletions