mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
ff7be7696c
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
22 lines
411 B
JavaScript
22 lines
411 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,
|
|
};
|