migrations: rename symbols.signature to symbols.synopsis

For golang/go#37102

Change-Id: Ib7e24deca26fa06427e42bb6b175369af54b908e
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/291730
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:
Julie Qiu 2021-02-12 19:49:04 -05:00
Родитель 3dd76ad583
Коммит 1d5c7ed872
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,9 @@
-- 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 symbol_history RENAME synopsis TO signature;
END;

Просмотреть файл

@ -0,0 +1,12 @@
-- 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 symbol_history RENAME signature TO synopsis;
COMMENT ON COLUMN symbol_history.synopsis IS
'COLUMN synopsis is a one-line summary for the symbol.';
END;