diff --git a/migrations/000037_drop_modules_readme_columns.down.sql b/migrations/000037_drop_modules_readme_columns.down.sql new file mode 100644 index 000000000..f9becf991 --- /dev/null +++ b/migrations/000037_drop_modules_readme_columns.down.sql @@ -0,0 +1,11 @@ +-- 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 modules + ADD COLUMN readme_file_path TEXT, + ADD COLUMN readme_contents TEXT; + +END; diff --git a/migrations/000037_drop_modules_readme_columns.up.sql b/migrations/000037_drop_modules_readme_columns.up.sql new file mode 100644 index 000000000..ed3d54194 --- /dev/null +++ b/migrations/000037_drop_modules_readme_columns.up.sql @@ -0,0 +1,11 @@ +-- 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 modules + DROP COLUMN readme_file_path, + DROP COLUMN readme_contents; + +END;