diff --git a/migrations/000016_add_module_version_states_num_packages.down.sql b/migrations/000016_add_module_version_states_num_packages.down.sql new file mode 100644 index 00000000..226c4591 --- /dev/null +++ b/migrations/000016_add_module_version_states_num_packages.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 module_version_states DROP COLUMN num_packages; + +END; diff --git a/migrations/000016_add_module_version_states_num_packages.up.sql b/migrations/000016_add_module_version_states_num_packages.up.sql new file mode 100644 index 00000000..06bd4907 --- /dev/null +++ b/migrations/000016_add_module_version_states_num_packages.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 module_version_states ADD COLUMN num_packages INTEGER; + +END;