1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/migrations/20230412062635-add-change-request-title.js
2023-04-12 08:42:52 +02:00

20 lines
342 B
JavaScript

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