TABLE new_documentation is created, which will replace the documentation
table after reprocessing. new_documentation has the following schema changes:
- id is a BIGINT instead of INTEGER
- goos and goarch are ENUMs
- zip column is dropped, since it is not being used
documentation_symbols is updated with a FK to new_documentation. The
id column is dropped, and id_bigint is renamed to id.
The id column on package_symbols is also dropped and id_bigint is
renamed to id.
Change-Id: I916ed7edd38647cd75f95f05f1fc7ea5b5c8980d
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/303113
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>