mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
20 lines
408 B
JavaScript
20 lines
408 B
JavaScript
|
exports.up = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table project_stats
|
||
|
ADD COLUMN IF NOT EXISTS project_members_added_current_window INTEGER DEFAULT 0
|
||
|
`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, cb) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table project_stats
|
||
|
DROP COLUMN project_members_added_current_window
|
||
|
`,
|
||
|
cb,
|
||
|
);
|
||
|
};
|