SELECT `name`, `createdAt`, `updatedAt`, `ChatWebsiteId` FROM chat_dispositions;');
migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `MailAccountId`) \
SELECT `name`, `createdAt`, `updatedAt`, `MailAccountId` FROM mail_dispositions;');
- migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `ChatAccountId`) \
- SELECT `name`, `createdAt`, `updatedAt`, `ChatAccountId` FROM chat_dispositions;');
migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `FaxAccountId`) \
SELECT `name`, `createdAt`, `updatedAt`, `FaxAccountId` FROM fax_dispositions;');
migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `SmsAccountId`) \
SELECT `name`, `createdAt`, `updatedAt`, `SmsAccountId` FROM sms_dispositions;');
migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `OpenchannelAccountId`) \
- SELECT `name`, `createdAt`, `updatedAt`, `SmsAccountId` FROM openchannel_dispositions;');
+ SELECT `name`, `createdAt`, `updatedAt`, `OpenchannelAccountId` FROM openchannel_dispositions;');
migration.query('INSERT INTO tools_dispositions (`name`, `createdAt`, `updatedAt`, `ListId`) \
SELECT `name`, `createdAt`, `updatedAt`, `ListId` FROM voice_dispositions;');
// END tools_dispositions