pkgsite/migrations/000097_alter_search_documen...

11 строки
302 B
PL/PgSQL

-- Copyright 2021 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 search_documents RENAME path_id TO package_path_id;
ALTER TABLE search_documents ADD COLUMN module_path_id INTEGER;
END;