1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/migrations/20231213111906-add-reason-to-change-request-schedule.js
andreas-unleash 6c52158723
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 <andreas@getunleash.ai>
2023-12-13 14:07:02 +02:00

8 lines
247 B
JavaScript

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);
};