1 parent
bb999afbb7
commit
6581164fc4
6 files changed
+40
-19
No files matched your search
@@ -0,0 +1,10 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE incidents ADD COLUMN updated_at DATETIME;
|
||||
UPDATE incidents SET updated_at = CURRENT_TIMESTAMP WHERE updated_at IS NULL;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE incidents DROP COLUMN updated_at;
|
||||
-- +goose StatementEnd
|
||||
Reference in new issue
Block a user