CREATE TABLE `campagnes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `created_at` DATETIME,
  `end_date` DATETIME DEFAULT NULL,
  `status` int(11) NOT NULL,
  `docIds` varchar(8000) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;