diff --git a/migrations/000009_versions_commit_time_not_null.down.sql b/migrations/000009_versions_commit_time_not_null.down.sql new file mode 100644 index 00000000..d11effc9 --- /dev/null +++ b/migrations/000009_versions_commit_time_not_null.down.sql @@ -0,0 +1,5 @@ +-- Copyright 2009 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. + +ALTER TABLE versions ALTER COLUMN commit_time DROP NOT NULL; diff --git a/migrations/000009_versions_commit_time_not_null.up.sql b/migrations/000009_versions_commit_time_not_null.up.sql new file mode 100644 index 00000000..c9acb5b8 --- /dev/null +++ b/migrations/000009_versions_commit_time_not_null.up.sql @@ -0,0 +1,5 @@ +-- Copyright 2009 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. + +ALTER TABLE versions ALTER COLUMN commit_time SET NOT NULL;