// START DESK ACCOUNTS
migration.addColumn('int_desk_accounts', 'serverUrl', {
- type: Sequelize.STRING
+ type: Sequelize.STRING
});
// END DESK ACCOUNTS
// START CHAT INTERACTIONS
migration.addColumn('chat_interactions', 'formData', {
- type: Sequelize.TEXT('long')
+ type: Sequelize.TEXT('long')
});
// END CHAT INTERACTIONS
// START CHAT MESSAGES
migration.addColumn('chat_messages', 'secret', {
- type: Sequelize.BOOLEAN,
- defaultValue: false
+ type: Sequelize.BOOLEAN,
+ defaultValue: false
});
// END CHAT MESSAGES
// START CHAT WEBSITES
migration.addColumn('chat_websites', 'agentAvatar', {
- type: Sequelize.TEXT
+ type: Sequelize.TEXT
});
migration.addColumn('chat_websites', 'showAgentAvatar', {
- type: Sequelize.BOOLEAN,
- defaultValue: false
+ type: Sequelize.BOOLEAN,
+ defaultValue: false
});
// END CHAT WEBSITES
//START CUSTOM FIELDS
migration.changeColumn('cm_custom_fields', 'values', {
- type: Sequelize.TEXT('long')
+ type: Sequelize.TEXT('long')
});
//END CUSTOM FIELDS
- // START FINAL
- migration.final(resolve);
- // END FINAL
+ // START FINAL
+ migration.final(resolve);
+ // END FINAL
});
},
down: function(queryInterface, Sequelize) {
var migration = new Migration(queryInterface);
}
-};
\ No newline at end of file
+};