mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
18 lines
312 B
JavaScript
18 lines
312 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE change_requests ADD COLUMN min_approvals INTEGER DEFAULT 1;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE change_requests DROP COLUMN min_approvals;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|