Files
mocksnow/db/migrations/20250324195310_worknote_update.sql
Nathan Coad e722ebe3f4
All checks were successful
continuous-integration/drone/push Build is passing
add worknote created time
2025-03-25 06:55:01 +11:00

10 lines
251 B
SQL

-- +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