mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-16 00:06:40 +01:00
22 lines
409 B
JavaScript
22 lines
409 B
JavaScript
|
exports.up = function(db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
INSERT INTO project_environments(project_id, environment_name) VALUES ('default', ':global:');
|
||
|
`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function(db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
DELETE FROM project_environments WHERE project_id = 'default' AND environment_name = ':global:';
|
||
|
`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports._meta = {
|
||
|
version: 1,
|
||
|
};
|