1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/migrations/20210428103922-patch-role-table.js
Ivar Conradi Østhus 48e09dbc2a fix: add migration patch
This patch will fix issues introduced in Unleash v3.13.0. It only
affects users trying to upgrade from v3 to v4 and has been using
v3.13.0 which contained an incorrect migration file.
2022-02-24 14:08:41 +01:00

10 lines
178 B
JavaScript

'use strict';
exports.up = function (db, cb) {
db.runSql('ALTER TABLE roles ADD COLUMN IF NOT EXISTS project text', cb);
};
exports.down = function (db, cb) {
cb();
};