зеркало из https://github.com/golang/pkgsite.git
migrations: drop licenses.module_path and licenses.version
These columns are no longer used. Fixes golang/go#39629 Change-Id: I258103dafe6ce96495a4b59c49d372cea8692486 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/272088 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>
This commit is contained in:
Родитель
14e4d3b1ac
Коммит
fd89b15b08
|
@ -0,0 +1,11 @@
|
|||
-- Copyright 2020 The Go Authors. All rights reserved.
|
||||
-- Use of this source code is governed by a BSD-style
|
||||
-- license that can be found in the LICENSE file.
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE licenses
|
||||
ADD COLUMN module_path TEXT,
|
||||
ADD COLUMN version TEXT;
|
||||
|
||||
END;
|
|
@ -0,0 +1,11 @@
|
|||
-- Copyright 2020 The Go Authors. All rights reserved.
|
||||
-- Use of this source code is governed by a BSD-style
|
||||
-- license that can be found in the LICENSE file.
|
||||
|
||||
BEGIN;
|
||||
|
||||
ALTER TABLE licenses
|
||||
DROP COLUMN module_path,
|
||||
DROP COLUMN version;
|
||||
|
||||
END;
|
Загрузка…
Ссылка в новой задаче