add SysUpdatedOn
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2025-03-26 13:19:34 +11:00
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