fix sql and getIncident
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE worknotes ADD COLUMN created_at DATETIME DEFAULT CURRENT_TIMESTAMP;
|
||||
ALTER TABLE worknotes ADD COLUMN created_at DATETIME;
|
||||
UPDATE worknotes SET created_at = CURRENT_TIMESTAMP WHERE created_at IS NULL;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
|
Reference in New Issue
Block a user