4 up: function(queryInterface, Sequelize) {
5 return queryInterface.addColumn('voice_recordings', 'customerPhone', {
9 return queryInterface.sequelize.query('UPDATE voice_recordings SET customerPhone = IF(type=\'outbound\',exten,calleridnum)');
13 down: function(queryInterface, Sequelize) {
14 queryInterface.sequelize.query('ALTER TABLE `voice_recordings` DROP COLUMN customerPhone;');