1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-16 00:06:40 +01:00
unleash.unleash/src/migrations/20230412062635-add-change-request-title.js

20 lines
342 B
JavaScript
Raw Normal View History

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