mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
21 lines
377 B
JavaScript
21 lines
377 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.up = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER TABLE project_settings
|
||
|
ADD COLUMN IF NOT EXISTS "feature_limit" integer;
|
||
|
`,
|
||
|
cb(),
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER TABLE project_settings DROP COLUMN IF EXISTS "feature_limit";
|
||
|
`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|