Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / migrations / 2.0.25.js
index f6b76a9..a9f3c66 100644 (file)
@@ -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