diff --git a/src/migrations/20230412062635-add-change-request-title.js b/src/migrations/20230412062635-add-change-request-title.js new file mode 100644 index 0000000000..4a7656c618 --- /dev/null +++ b/src/migrations/20230412062635-add-change-request-title.js @@ -0,0 +1,19 @@ +'use strict'; + +exports.up = function (db, callback) { + db.runSql( + ` + ALTER TABLE change_requests ADD COLUMN title TEXT; + `, + callback, + ); +}; + +exports.down = function (db, callback) { + db.runSql( + ` + ALTER TABLE change_requests DROP COLUMN title; + `, + callback, + ); +};