add worknote created time
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-25 06:55:01 +11:00
parent 6389f53ae3
commit e722ebe3f4
3 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
-- +goose Up
-- +goose StatementBegin
ALTER TABLE worknotes ADD COLUMN created_at DATETIME DEFAULT CURRENT_TIMESTAMP;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
ALTER TABLE worknotes DROP COLUMN created_at;
-- +goose StatementEnd