alter table xf_nixfifty_ticket add column `starter_user_id` INT(10) UNSIGNED NOT NULL;
alter table xf_nixfifty_ticket add column `starter_username` VARCHAR(50) NOT NULL;
alter table xf_nixfifty_ticket_escalation drop column `execute_once`;
alter table xf_nixfifty_ticket_escalation drop column `execute_type`;
CREATE TABLE IF NOT EXISTS `xf_nixfifty_spam_log` (
`ticket_id` int(10) unsigned NOT NULL,
`trigger_log_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`content_type` varbinary(25) NOT NULL,
`content_id` int(10) unsigned DEFAULT NULL,
`log_date` int(10) unsigned NOT NULL,
`user_id` int(10) unsigned NOT NULL,
`ip_address` varbinary(16) NOT NULL,
`result` varbinary(25) NOT NULL,
`details` mediumblob NOT NULL,
`request_state` mediumblob NOT NULL,
PRIMARY KEY (`trigger_log_id`),
KEY `content_type` (`content_type`,`content_id`),
KEY `log_date` (`log_date`),
KEY `ticket_id` (`ticket_id`)
) COLLATE='utf8_general_ci' ENGINE=InnoDB;