migrations: add packages.documentation column

Change-Id: Iecf325408aef16c87d853500299d3fcc5c58d673
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/456997
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
Julie Qiu 2019-04-30 13:21:03 -04:00
Родитель 670f7c1334
Коммит cea7bbca7f
2 изменённых файлов: 18 добавлений и 0 удалений

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

@ -0,0 +1,9 @@
-- Copyright 2019 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 packages DROP COLUMN documentation;
END;

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

@ -0,0 +1,9 @@
-- Copyright 2019 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 packages ADD COLUMN documentation TEXT;
END;