mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
ff7be7696c
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
22 lines
320 B
JavaScript
22 lines
320 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE projects ADD COLUMN health integer DEFAULT 100;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE projects DROP COLUMN health;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports._meta = {
|
|
version: 1,
|
|
};
|