mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
48e09dbc2a
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.
15 lines
218 B
JavaScript
15 lines
218 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
UPDATE roles set name='Admin' where name='Super User';
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
cb();
|
|
};
|