4 up: function(queryInterface, Sequelize) {
5 queryInterface.addColumn('chat_websites', 'closeUrl', Sequelize.STRING);
6 queryInterface.addColumn('chat_websites', 'closeMethod', {
7 type: Sequelize.ENUM('GET', 'POST')
9 queryInterface.addColumn('sms_accounts', 'closeUrl', Sequelize.STRING);
10 queryInterface.addColumn('sms_accounts', 'closeMethod', {
11 type: Sequelize.ENUM('GET', 'POST')
13 queryInterface.addColumn('openchannel_accounts', 'closeUrl', Sequelize.STRING);
14 queryInterface.addColumn('openchannel_accounts', 'closeMethod', {
15 type: Sequelize.ENUM('GET', 'POST')
17 queryInterface.addColumn('mail_accounts', 'closeUrl', Sequelize.STRING);
18 queryInterface.addColumn('mail_accounts', 'closeMethod', {
19 type: Sequelize.ENUM('GET', 'POST')
21 queryInterface.addColumn('fax_accounts', 'closeUrl', Sequelize.STRING);
22 queryInterface.addColumn('fax_accounts', 'closeMethod', {
23 type: Sequelize.ENUM('GET', 'POST')
27 down: function(queryInterface, Sequelize) {
28 queryInterface.removeColumn('chat_websites', 'closeUrl');
29 queryInterface.removeColumn('chat_websites', 'closeMethod');
30 queryInterface.removeColumn('sms_accounts', 'closeUrl');
31 queryInterface.removeColumn('sms_accounts', 'closeMethod');
32 queryInterface.removeColumn('openchannel_accounts', 'closeUrl');
33 queryInterface.removeColumn('openchannel_accounts', 'closeMethod');
34 queryInterface.removeColumn('mail_accounts', 'closeUrl');
35 queryInterface.removeColumn('mail_accounts', 'closeMethod');
36 queryInterface.removeColumn('fax_accounts', 'closeUrl');
37 queryInterface.removeColumn('fax_accounts', 'closeMethod');