mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
18 lines
396 B
JavaScript
18 lines
396 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
INSERT INTO permissions (permission, display_name, type) VALUES ('SKIP_CHANGE_REQUEST', 'Skip change request process', 'environment');
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
DELETE FROM permissions WHERE permission = 'SKIP_CHANGE_REQUEST';
|
|
`,
|
|
cb,
|
|
);
|
|
};
|