Built motion from commit b18b7a808.|1.0.23
[motion.git] / server / migrations / 20170614131609-user.js
diff --git a/server/migrations/20170614131609-user.js b/server/migrations/20170614131609-user.js
new file mode 100644 (file)
index 0000000..8598713
--- /dev/null
@@ -0,0 +1,14 @@
+'use strict';
+
+module.exports = {
+  up: function(queryInterface, Sequelize) {
+    queryInterface.addColumn('users', 'phoneBarRingInUse', {
+      type: Sequelize.BOOLEAN,
+      defaultValue: false
+    });
+  },
+
+  down: function(queryInterface, Sequelize) {
+    queryInterface.removeColumn('users', 'phoneBarRingInUse');
+  }
+};