Skip to content

Commit

Permalink
save gladys db version 3.7.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles committed Mar 3, 2018
1 parent becc980 commit 16995d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/core/task/task.dbMigration.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ module.exports = function(oldVersion) {

if(semver.lt(oldVersion, '3.7.8')) {
return gladys.utils.sql(`ALTER TABLE alarm ADD COLUMN isWakeUp tinyint(1) DEFAULT NULL;`).reflect()
.then(() => gladys.task.updateDbVersion('3.7.8'))
.then(() => gladys.task.dbMigration('3.7.8'))
}

Expand Down

0 comments on commit 16995d4

Please sign in to comment.