migrations: drop units.v1_path

Change-Id: Ic2d0ee5f9dc6298f285fdcd6276e535e7c8181ec
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/284573
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Julie Qiu <julie@golang.org>
This commit is contained in:
Julie Qiu 2021-01-19 10:05:45 -05:00
Родитель 7328fabf02
Коммит fdb9eed735
2 изменённых файлов: 19 добавлений и 0 удалений

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

@ -0,0 +1,10 @@
-- 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 units ADD COLUMN v1_path TEXT;
CREATE INDEX units_v1_path_key ON units(v1_path);
END;

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

@ -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 units DROP COLUMN v1_path;
END;