1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/src/migrations/20230424090942-project-default-strategy-settings.js

22 lines
435 B
JavaScript
Raw Normal View History

'use strict';
exports.up = function (db, callback) {
db.runSql(
`
ALTER TABLE project_environments
ADD COLUMN IF NOT EXISTS default_strategy jsonb;
`,
callback,
);
};
exports.down = function (db, callback) {
db.runSql(
`
ALTER TABLE project_environments
DROP COLUMN IF EXISTS default_strategy;
`,
callback,
);
};