зеркало из https://github.com/golang/pkgsite.git
migrations: add index for packages(module_path, version)
Change-Id: I4cc78c044c3c493936034920efe89e62b79814ae Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/719984 Reviewed-by: Jonathan Amsterdam <jba@google.com>
This commit is contained in:
Родитель
f82f4b17d7
Коммит
41e4c5cc8f
|
@ -0,0 +1,9 @@
|
|||
-- 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;
|
||||
|
||||
DROP INDEX idx_packages_module_path_version;
|
||||
|
||||
END;
|
|
@ -0,0 +1,9 @@
|
|||
-- 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;
|
||||
|
||||
CREATE INDEX idx_packages_module_path_version ON packages(module_path, version);
|
||||
|
||||
END;
|
Загрузка…
Ссылка в новой задаче