X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fmigrations%2F2.0.25.js;h=a9f3c66864b16fd201f05005adf86cbfc954aa2e;hb=54b4ff96e83f911255a158fd7e32a0e84ec4b7d0;hp=f6b76a99240a4f441123baf4f405d57a09a48d3c;hpb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;p=motion2.git diff --git a/server/migrations/2.0.25.js b/server/migrations/2.0.25.js index f6b76a9..a9f3c66 100644 --- a/server/migrations/2.0.25.js +++ b/server/migrations/2.0.25.js @@ -36,14 +36,14 @@ Migration.prototype.changeColumn = function(table, column, type) { }; Migration.prototype.addColumn = function(table, column, type) { - return this.queryInterface - .addColumn(table, column, type) - .then(function(res) { - logger.info('Added column %s to %s', column, table); - }) - .catch(function(err) { - logger.info(JSON.stringify(err)); - }); + return this.queryInterface + .addColumn(table, column, type) + .then(function(res) { + logger.info('Added column %s to %s', column, table); + }) + .catch(function(err) { + logger.info(JSON.stringify(err)); + }); }; @@ -65,12 +65,12 @@ module.exports = { }); migration.addColumn('voice_queues', 'dialPrefix', { - type: Sequelize.STRING, - defaultValue: null + type: Sequelize.STRING, + defaultValue: null }); }, down: function(queryInterface, Sequelize) { var migration = new Migration(queryInterface); } -}; +}; \ No newline at end of file