diff --git a/migrations/000042_add_search_documents_path_id.down.sql b/migrations/000042_add_search_documents_path_id.down.sql new file mode 100644 index 00000000..184aad9c --- /dev/null +++ b/migrations/000042_add_search_documents_path_id.down.sql @@ -0,0 +1,9 @@ +-- Copyright 2020 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 DROP COLUMN path_id; + +END; diff --git a/migrations/000042_add_search_documents_path_id.up.sql b/migrations/000042_add_search_documents_path_id.up.sql new file mode 100644 index 00000000..2ee63d3b --- /dev/null +++ b/migrations/000042_add_search_documents_path_id.up.sql @@ -0,0 +1,9 @@ +-- Copyright 2020 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 ADD COLUMN path_id integer; + +END;