CREATE TABLE `tbluser_list_export_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `email`  VARCHAR(100) NOT NULL,
  `description` TEXT NULL,
  `status` enum('pending','in_progress','completed','failed') NOT NULL DEFAULT 'pending',
  `filters` longtext,
  `added_on` datetime NOT NULL,
  `added_by_admin_id` bigint(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;

INSERT INTO `tblapad_emailtemplates`
  (type, slug, language, name, subject,  message, fromname, fromemail, plaintext, `active`,  `order`, is_tenant_email_config_allowed, is_tenant)
VALUES
  ('report','export-user-list-to-excel','english','Export User List to Excel','Export User List to Excel','<span style=\"font-size: 12pt;\">Hi,</span><br/><br/><span style=\"font-size: 12pt;\">Please find the user list that you had requested for.</span><br/><br/><br/><br/><span style=\"font-size: 12pt;\">Regards,</span><br/><br/>','',NULL,0,1,0,0,0);
