From 6c52158723d86503f2ce625f1699a3f07879e6ef Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Wed, 13 Dec 2023 14:07:02 +0200 Subject: [PATCH] feat: add reason column to change_request_schedule (#5631) What it says on the tin. Closes: # [1-1766](https://linear.app/unleash/issue/1-1766/add-reason-column-to-change-request-schedule) --------- Signed-off-by: andreas-unleash --- ...20231213111906-add-reason-to-change-request-schedule.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/migrations/20231213111906-add-reason-to-change-request-schedule.js diff --git a/src/migrations/20231213111906-add-reason-to-change-request-schedule.js b/src/migrations/20231213111906-add-reason-to-change-request-schedule.js new file mode 100644 index 0000000000..ada197aaf6 --- /dev/null +++ b/src/migrations/20231213111906-add-reason-to-change-request-schedule.js @@ -0,0 +1,7 @@ +exports.up = function(db, cb) { + db.runSql(`ALTER TABLE change_request_schedule ADD COLUMN failure_reason text`, cb); +}; + +exports.down = function(db, cb) { + db.runSql(`ALTER TABLE change_request_schedule DROP COLUMN failure_reason`, cb); +};