ALTER TABLE `vn`.`ticketConfig` ADD COLUMN `closureDaysAgo` int(11) NOT NULL DEFAULT 2 COMMENT 'Number of days to look back for ticket closure', ADD CONSTRAINT `closureDaysAgo_check` CHECK (`closureDaysAgo` > 0);