mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
897e97330a
This PR adds project members to the project stats and connects the stats to the UI.
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,
|
|
);
|
|
};
|