mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
16 lines
360 B
JavaScript
16 lines
360 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
UPDATE environments set sort_order = 100 where name = 'development' AND sort_order = 9999;
|
|
UPDATE environments set sort_order = 200 where name = 'production' AND sort_order = 9999;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
cb();
|
|
};
|