1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: change request title migration (#3502)

This commit is contained in:
Mateusz Kwasniewski 2023-04-12 08:42:52 +02:00 committed by GitHub
parent 63043bff7e
commit 15e5b983ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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