4 up: function(queryInterface, Sequelize) {
5 queryInterface.sequelize.query("UPDATE chat_queues SET strategy = 'roundrobin' WHERE strategy = 'rrmemory'")
7 console.log('Strategy updated for chat_queues');
13 queryInterface.sequelize.query("UPDATE fax_queues SET strategy = 'roundrobin' WHERE strategy = 'rrmemory'")
15 console.log('Strategy updated for fax_queues');
17 .catch(function(err) {
21 queryInterface.sequelize.query("UPDATE mail_queues SET strategy = 'roundrobin' WHERE strategy = 'rrmemory'")
23 console.log('Strategy updated for mail_queues');
25 .catch(function(err) {
29 queryInterface.sequelize.query("UPDATE openchannel_queues SET strategy = 'roundrobin' WHERE strategy = 'rrmemory'")
31 console.log('Strategy updated for openchannel_queues');
33 .catch(function(err) {
37 queryInterface.sequelize.query("UPDATE sms_queues SET strategy = 'roundrobin' WHERE strategy = 'rrmemory'")
39 console.log('Strategy updated for sms_queues');
41 .catch(function(err) {
45 down: function(queryInterface, Sequelize) {