Skip to content

Commit 8880d30

Browse files
committed
migrations: drop idx_paths_path
idx_paths_path is a duplicate of index paths_path_module_id_key and is dropped. This frees up 16 GB of index space. For golang/go#39629 Change-Id: Ia6baa1c47a00c2724ab85274787d68befc5ac92d Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/265247 Trust: Julie Qiu <[email protected]> Run-TryBot: Julie Qiu <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Jamal Carvalho <[email protected]>
1 parent 077359a commit 8880d30

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
-- Copyright 2020 The Go Authors. All rights reserved.
2+
-- Use of this source code is governed by a BSD-style
3+
-- license that can be found in the LICENSE file.
4+
5+
BEGIN;
6+
7+
CREATE INDEX idx_paths_path ON paths (path);
8+
COMMENT ON INDEX idx_paths_path is
9+
'INDEX idx_paths_path is used to get path information from a path.';
10+
11+
END;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- Copyright 2020 The Go Authors. All rights reserved.
2+
-- Use of this source code is governed by a BSD-style
3+
-- license that can be found in the LICENSE file.
4+
5+
BEGIN;
6+
7+
DROP INDEX idx_paths_path;
8+
9+
END;

0 commit comments

Comments
 (0)