
--
-- Table structure for table `course_minimumrequirements`
--

CREATE TABLE `course_minimumrequirements` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `category_id` int unsigned NOT NULL,
  `score` int NOT NULL,
  `grade` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=235 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `course_minimumrequirements`
--

INSERT INTO `course_minimumrequirements` VALUES (1,17,1,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(2,17,2,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(3,17,3,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(4,17,4,5,'C-','2017-09-05 21:00:00','2017-09-05 21:00:00'),(5,23,1,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(6,23,2,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(7,23,3,6,'C','2017-09-05 21:00:00','2017-09-05 21:00:00'),(8,23,4,5,'C-','2017-09-05 21:00:00','2017-09-05 21:00:00'),(9,23,5,5,'C-','2017-09-05 21:00:00','2017-09-05 21:00:00'),(10,1,1,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(11,1,2,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(12,1,3,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(13,1,4,4,'D+','2017-09-05 18:00:00','2017-09-05 18:00:00'),(14,9,1,4,'C','2017-11-09 10:41:44','2021-05-06 13:41:58'),(15,9,2,4,'C-','2017-11-09 10:41:45','2021-06-11 10:35:08'),(16,9,3,5,'C','2017-11-09 10:41:45','2019-05-29 18:49:19'),(17,9,4,4,'D+','2017-11-09 10:41:45','2017-11-09 10:41:45'),(19,5,1,5,'C-','2017-11-13 07:55:43','2017-11-13 07:55:43'),(20,5,2,3,'D','2017-11-13 07:55:43','2017-11-13 07:55:43'),(21,5,3,5,'C-','2017-11-13 07:55:43','2017-11-13 07:55:43'),(24,3,1,4,'C-','2017-11-13 07:57:11','2019-04-01 18:33:31'),(25,3,2,3,'C-','2017-11-13 07:57:11','2021-05-06 13:26:31'),(26,3,3,4,'C-','2017-11-13 07:57:11','2019-04-01 18:32:56'),(27,3,4,3,'D','2017-11-13 07:57:11','2017-11-13 07:57:11'),(29,20,1,6,'C','2017-11-13 07:59:17','2017-11-13 07:59:17'),(30,20,2,5,'C-','2017-11-13 07:59:17','2017-11-13 07:59:17'),(31,20,3,6,'C','2017-11-13 07:59:17','2017-11-13 07:59:17'),(32,20,4,6,'C','2017-11-13 07:59:17','2017-11-13 07:59:17'),(33,20,5,5,'C-','2017-11-13 07:59:17','2017-11-13 07:59:17'),(34,19,1,6,'C','2017-11-13 07:59:50','2017-11-13 07:59:50'),(35,19,2,6,'C','2017-11-13 07:59:50','2017-11-13 07:59:50'),(36,19,3,6,'C','2017-11-13 07:59:50','2017-11-13 07:59:50'),(37,19,4,5,'C-','2017-11-13 07:59:50','2017-11-13 07:59:50'),(38,19,5,5,'C-','2017-11-13 07:59:50','2017-11-13 07:59:50'),(39,14,1,6,'C','2017-11-13 08:00:36','2017-11-13 08:00:36'),(40,14,2,5,'C-','2017-11-13 08:00:36','2017-11-13 08:00:36'),(41,14,3,6,'C','2017-11-13 08:00:36','2017-11-13 08:00:36'),(42,14,4,4,'C-','2017-11-13 08:00:36','2019-05-29 18:26:15'),(44,13,1,6,'C','2017-11-13 08:01:20','2017-11-13 08:01:20'),(45,13,2,5,'C','2017-11-13 08:01:20','2019-05-29 18:28:58'),(46,13,3,6,'C','2017-11-13 08:01:20','2017-11-13 08:01:20'),(47,13,4,4,'C-','2017-11-13 08:01:20','2019-05-29 18:30:00'),(48,13,5,5,'C-','2017-11-13 08:01:20','2017-11-13 08:01:20'),(49,24,1,6,'C','2017-11-13 08:02:15','2017-11-13 08:02:15'),(50,24,2,6,'C','2017-11-13 08:02:15','2017-11-13 08:02:15'),(51,24,3,6,'C','2017-11-13 08:02:15','2017-11-13 08:02:15'),(52,24,4,6,'C','2017-11-13 08:02:15','2017-11-13 08:02:15'),(53,24,5,6,'C','2017-11-13 08:02:15','2017-11-13 08:02:15'),(54,15,1,6,'C','2017-11-13 08:03:02','2017-11-13 08:03:02'),(55,15,2,6,'C','2017-11-13 08:03:02','2017-11-13 08:03:02'),(56,15,3,6,'C','2017-11-13 08:03:02','2017-11-13 08:03:02'),(57,15,4,6,'C','2017-11-13 08:03:02','2017-11-13 08:03:02'),(58,15,5,5,'C-','2017-11-13 08:03:02','2017-11-13 08:03:02'),(60,36,2,4,'C','2017-11-13 08:03:30','2019-09-18 14:32:23'),(62,36,4,5,'C-','2017-11-13 08:03:30','2017-11-13 08:03:30'),(64,11,1,6,'C','2017-11-13 08:03:55','2017-11-13 08:03:55'),(65,11,2,5,'C','2017-11-13 08:03:55','2019-04-12 05:00:38'),(66,11,3,6,'C-','2017-11-13 08:03:55','2019-05-29 19:09:28'),(67,11,4,5,'C-','2017-11-13 08:03:55','2017-11-13 08:03:55'),(74,8,1,6,'C','2017-11-13 08:14:41','2017-11-13 08:14:41'),(75,8,2,5,'C','2017-11-13 08:14:41','2019-04-12 04:58:43'),(76,8,3,6,'C','2017-11-13 08:14:41','2017-11-13 08:14:41'),(77,8,4,4,'C','2017-11-13 08:14:41','2019-05-31 17:10:54'),(79,16,1,6,'C','2017-11-13 08:15:43','2017-11-13 08:15:43'),(80,16,2,5,'C-','2017-11-13 08:15:43','2017-11-13 08:15:43'),(81,16,3,6,'C','2017-11-13 08:15:43','2017-11-13 08:15:43'),(82,16,4,5,'C-','2017-11-13 08:15:43','2017-11-13 08:15:43'),(83,16,5,5,'C-','2017-11-13 08:15:43','2017-11-13 08:15:43'),(84,12,1,6,'C','2017-11-13 08:18:46','2017-11-13 08:18:46'),(85,12,2,6,'C','2017-11-13 08:18:46','2017-11-13 08:18:46'),(86,12,3,6,'C','2017-11-13 08:18:46','2017-11-13 08:18:46'),(87,12,4,6,'C','2017-11-13 08:18:46','2017-11-13 08:18:46'),(88,12,5,6,'C','2017-11-13 08:18:46','2017-11-13 08:18:46'),(89,2,1,5,'C-','2017-11-13 08:21:13','2022-05-05 18:50:10'),(90,2,2,4,'D+','2017-11-13 08:21:13','2022-05-05 18:53:11'),(91,2,3,5,'C-','2017-11-13 08:21:13','2022-05-05 18:50:58'),(92,2,4,3,'D','2017-11-13 08:21:13','2017-11-13 08:21:13'),(98,7,1,5,'C-','2017-11-13 08:47:30','2017-11-13 08:47:30'),(99,7,2,5,'D+','2017-11-13 08:47:30','2022-06-20 10:40:02'),(100,7,3,5,'C-','2017-11-13 08:47:30','2017-11-13 08:47:30'),(101,7,4,4,'D+','2017-11-13 08:47:30','2017-11-13 08:47:30'),(103,4,1,5,'C-','2017-11-13 08:48:57','2017-11-13 08:48:57'),(104,4,2,5,'C-','2017-11-13 08:48:57','2017-11-13 08:48:57'),(105,4,3,5,'C-','2017-11-13 08:48:57','2017-11-13 08:48:57'),(106,4,4,4,'D+','2017-11-13 08:48:57','2017-11-13 08:48:57'),(107,25,1,6,'C','2017-11-13 08:49:49','2017-11-13 08:49:49'),(108,25,2,6,'C','2017-11-13 08:49:49','2017-11-13 08:49:49'),(109,25,3,6,'C','2017-11-13 08:49:49','2017-11-13 08:49:49'),(110,25,4,5,'C-','2017-11-13 08:49:49','2017-11-13 08:49:49'),(111,6,1,5,'C-','2017-11-14 05:44:19','2017-11-14 05:44:19'),(112,6,2,3,'D+','2017-11-14 05:44:19','2019-05-29 10:33:10'),(113,6,3,5,'C-','2017-11-14 05:44:19','2017-11-14 05:44:19'),(119,2111,6,3,'D','2017-11-13 08:21:13','2017-11-13 08:21:13'),(120,10,1,6,'C','2017-12-20 11:48:45','2017-12-20 11:48:45'),(121,10,2,6,'C','2017-12-20 11:48:45','2019-04-12 04:57:55'),(122,10,3,6,'C','2017-12-20 11:48:45','2017-12-20 11:48:45'),(123,10,4,5,'C','2017-12-20 11:48:45','2022-06-02 14:51:38'),(125,21,1,6,'C','2018-01-08 15:30:46','2018-01-08 15:30:46'),(126,21,2,6,'C','2018-01-08 15:30:46','2018-01-08 15:30:46'),(127,21,3,6,'C','2018-01-08 15:30:46','2018-01-08 15:30:46'),(128,21,4,5,'C-','2018-01-08 15:30:46','2018-01-08 15:30:46'),(129,21,5,5,'C-','2018-01-08 15:30:46','2018-01-08 15:30:46'),(130,18,1,6,'C','2018-01-08 15:32:18','2018-01-08 15:32:18'),(131,18,2,6,'C','2018-01-08 15:32:18','2018-01-08 15:32:18'),(132,18,3,6,'C','2018-01-08 15:32:18','2018-01-08 15:32:18'),(133,18,4,6,'C','2018-01-08 15:32:18','2018-01-08 15:32:18'),(134,18,5,5,'C-','2018-01-08 15:32:18','2018-01-08 15:32:18'),(135,22,1,6,'C','2018-01-08 15:33:07','2018-01-08 15:33:07'),(136,22,2,6,'C','2018-01-08 15:33:07','2018-01-08 15:33:07'),(137,22,3,6,'C','2018-01-08 15:33:07','2018-01-08 15:33:07'),(138,22,4,5,'C-','2018-01-08 15:33:07','2018-01-08 15:33:07'),(139,22,5,5,'C-','2018-01-08 15:33:07','2018-01-08 15:33:07'),(140,74,1,4,'D+','2018-04-09 03:28:46','2018-04-09 03:28:46'),(141,74,2,3,'D','2018-04-09 03:28:46','2018-04-09 03:28:46'),(142,74,3,4,'D+','2018-04-09 03:28:46','2018-04-09 03:28:46'),(143,74,4,3,'D','2018-04-09 03:28:46','2018-04-09 03:28:46'),(144,86,1,4,'D+','2019-01-30 14:21:28','2019-01-30 14:21:28'),(146,86,3,5,'C-','2019-01-30 14:21:28','2019-01-30 14:21:28'),(148,87,1,6,'C','2019-03-25 04:02:10','2019-03-25 04:02:10'),(149,87,2,6,'C','2019-03-25 04:02:10','2019-03-25 04:02:10'),(150,87,3,6,'C','2019-03-25 04:02:10','2019-03-25 04:02:10'),(151,87,4,5,'C-','2019-03-25 04:02:10','2019-03-25 04:02:10'),(152,87,1,6,'C','2019-04-12 05:43:39','2019-04-12 05:43:39'),(153,87,2,6,'C','2019-04-12 05:43:39','2019-04-12 05:43:39'),(154,87,3,6,'C','2019-04-12 05:43:40','2019-04-12 05:43:40'),(155,87,4,5,'C-','2019-04-12 05:43:40','2019-04-12 05:43:40'),(156,6,5,2,'D-','2019-05-31 12:27:26','2019-05-31 12:27:26'),(157,6,4,4,'D+','2019-06-12 10:09:32','2019-06-12 10:09:32'),(158,36,1,6,'C','2019-06-14 12:50:26','2019-09-18 14:29:41'),(160,36,3,6,'C','2019-06-14 12:50:26','2019-06-14 12:50:26'),(162,114,1,6,'C','2019-07-15 14:31:13','2019-07-15 14:31:13'),(163,114,2,6,'C','2019-07-15 14:31:13','2019-07-15 14:31:13'),(164,114,3,6,'C','2019-07-15 14:31:13','2019-07-15 14:31:13'),(165,114,4,5,'C-','2019-07-15 14:31:13','2019-07-15 14:31:13'),(201,78,1,4,'D+','2020-01-30 18:44:10','2020-01-30 18:44:10'),(202,78,2,2,'D-','2020-01-30 18:44:10','2020-01-30 18:44:10'),(203,78,3,4,'D+','2020-01-30 18:44:10','2020-01-30 18:44:10'),(204,129,1,6,'C','2021-02-04 08:07:41','2021-02-04 08:07:41'),(205,129,2,4,'D+','2021-02-04 08:07:41','2021-02-04 08:07:41'),(206,129,3,6,'C','2021-02-04 08:07:41','2021-02-04 08:07:41'),(207,129,4,5,'C-','2021-02-04 08:07:41','2021-02-04 08:07:41'),(211,118,1,1,'E','2021-04-22 15:24:07','2021-04-22 15:24:07'),(212,118,2,1,'E','2021-04-22 15:24:07','2021-04-22 15:24:07'),(213,118,3,3,'D','2021-04-22 15:24:07','2021-04-22 15:24:07'),(214,118,4,1,'E','2021-04-22 15:24:07','2021-04-22 15:24:07'),(215,2,5,3,'D','2021-05-14 15:59:20','2021-05-14 15:59:20'),(216,86,2,3,'D','2021-05-25 13:25:40','2021-05-25 13:25:40'),(217,86,4,3,'D','2021-05-25 13:25:40','2021-05-25 13:25:40'),(219,9,5,3,'D','2021-06-11 10:41:10','2021-06-11 10:41:10'),(220,3,5,3,'D','2021-06-30 14:07:35','2021-06-30 14:07:35'),(221,5,4,2,'D-','2022-05-05 19:35:32','2022-05-05 19:35:32'),(222,5,5,3,'D','2022-05-11 14:50:48','2022-05-11 14:50:48'),(223,138,1,5,'C-','2022-06-20 16:57:54','2022-06-20 16:57:54'),(224,138,2,4,'D+','2022-06-20 16:57:54','2022-06-20 16:57:54'),(225,138,3,6,'C','2022-06-20 16:57:54','2022-06-20 16:57:54'),(226,138,4,3,'D','2022-06-20 16:57:54','2022-06-20 16:57:54'),(227,153,1,5,'C-','2023-08-28 10:59:51','2023-08-28 10:59:51'),(228,153,2,5,'C-','2023-08-28 10:59:51','2023-08-28 10:59:51'),(229,153,3,6,'C-','2023-08-28 10:59:51','2023-08-28 11:02:55'),(230,153,4,5,'C-','2023-08-28 10:59:51','2023-08-28 10:59:51'),(231,166,1,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(232,166,2,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(233,166,3,5,'C-','2017-09-05 18:00:00','2017-09-05 18:00:00'),(234,166,4,4,'D+','2017-09-05 18:00:00','2017-09-05 18:00:00');

--
-- Table structure for table `course_modes`
--

CREATE TABLE `course_modes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `modeofstudy_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `duration` decimal(8,2) NOT NULL DEFAULT '0.00',
  `duration_in_words` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `course_modes_course_id_foreign` (`course_id`),
  KEY `course_modes_modeofstudy_id_foreign` (`modeofstudy_id`),
  CONSTRAINT `course_modes_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `course_modes_modeofstudy_id_foreign` FOREIGN KEY (`modeofstudy_id`) REFERENCES `mode_of_studies` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `course_modes`
--

INSERT INTO `course_modes` VALUES (1,156,1,'2023-07-13 18:54:21','2023-07-13 18:54:21',0.00,NULL);

--
-- Table structure for table `course_subjects`
--

CREATE TABLE `course_subjects` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `subject_id` int unsigned NOT NULL,
  `category_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=570 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `course_subjects`
--

INSERT INTO `course_subjects` VALUES (1,17,1,1,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(2,17,2,1,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(3,17,3,2,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(4,17,5,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(5,17,6,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(6,17,17,3,'2017-09-11 21:00:00','2017-09-11 21:00:00'),(7,17,16,2,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(8,17,15,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(9,17,4,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(10,23,1,1,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(11,23,2,1,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(12,23,16,2,'2017-09-11 21:00:00','2017-09-11 21:00:00'),(13,23,3,2,'2017-09-11 21:00:00','2017-09-11 21:00:00'),(14,23,5,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(15,23,15,4,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(16,23,4,5,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(17,23,6,5,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(18,23,15,5,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(19,23,17,3,'2017-09-05 21:00:00','2017-09-05 21:00:00'),(20,1,1,1,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(21,1,2,1,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(22,1,3,2,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(23,1,5,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(24,1,6,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(25,1,17,3,'2017-09-11 18:00:00','2017-09-11 18:00:00'),(26,1,16,2,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(27,1,15,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(28,1,4,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(29,9,1,1,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(30,9,2,1,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(31,9,3,2,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(32,9,16,2,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(33,9,5,4,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(34,9,15,4,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(35,9,4,5,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(36,9,6,5,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(37,9,12,5,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(38,9,14,5,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(39,9,57,5,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(40,9,17,3,'2017-11-09 10:39:35','2017-11-09 10:39:35'),(41,13,1,1,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(42,13,2,1,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(43,13,4,2,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(44,13,3,4,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(45,13,16,4,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(46,13,5,5,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(47,13,6,5,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(48,13,15,5,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(49,13,56,5,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(50,13,17,3,'2017-11-09 10:53:20','2017-11-09 10:53:20'),(51,25,1,1,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(52,25,2,1,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(53,25,3,2,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(54,25,16,2,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(55,25,4,4,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(56,25,5,4,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(57,25,6,4,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(58,25,15,4,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(59,25,17,3,'2017-11-09 10:58:23','2017-11-09 10:58:23'),(60,24,1,1,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(61,24,2,1,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(62,24,3,2,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(63,24,16,2,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(64,24,5,4,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(65,24,15,4,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(66,24,4,5,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(67,24,6,5,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(68,24,15,5,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(69,24,17,3,'2017-11-09 11:05:53','2017-11-09 11:05:53'),(70,11,1,1,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(71,11,2,1,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(72,11,3,2,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(73,11,16,2,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(74,11,4,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(75,11,5,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(76,11,6,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(77,11,12,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(78,11,14,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(79,11,15,4,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(86,11,17,3,'2017-11-09 11:16:55','2017-11-09 11:16:55'),(87,8,1,1,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(88,8,2,1,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(89,8,3,2,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(90,8,4,4,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(91,8,6,4,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(92,8,15,4,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(97,8,17,3,'2017-11-09 12:39:30','2017-11-09 12:39:30'),(98,16,1,1,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(99,16,2,1,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(100,16,3,2,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(101,16,4,4,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(102,16,6,4,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(103,16,15,4,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(104,16,4,5,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(105,16,5,5,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(106,16,6,5,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(107,16,15,5,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(108,16,17,3,'2017-11-09 12:49:22','2017-11-09 12:49:22'),(109,15,1,1,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(110,15,2,1,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(111,15,4,4,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(112,15,6,2,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(113,15,15,2,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(114,15,3,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(115,15,13,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(116,15,16,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(117,15,58,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(118,15,59,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(119,15,17,3,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(120,19,1,1,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(121,19,2,1,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(122,19,3,2,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(123,19,16,2,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(124,19,4,4,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(125,19,5,5,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(126,19,6,5,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(127,19,15,5,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(128,19,17,3,'2017-11-09 13:04:45','2017-11-09 13:04:45'),(129,20,1,1,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(130,20,2,1,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(131,20,5,4,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(132,20,6,4,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(133,20,15,4,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(134,20,3,2,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(135,20,16,2,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(136,20,4,5,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(137,20,5,5,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(138,20,6,5,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(139,20,13,5,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(140,20,15,5,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(141,20,17,3,'2017-11-09 13:09:20','2017-11-09 13:09:20'),(142,10,1,1,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(143,10,2,1,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(144,10,3,2,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(145,10,16,2,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(146,10,4,4,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(147,10,6,4,'2017-11-09 13:13:37','2017-11-09 13:13:37'),(148,10,15,4,'2017-11-09 13:13:38','2017-11-09 13:13:38'),(155,10,17,3,'2017-11-09 13:13:38','2017-11-09 13:13:38'),(156,14,1,1,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(157,14,2,1,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(158,14,3,2,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(159,14,16,2,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(160,14,4,4,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(161,14,5,4,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(162,14,6,4,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(163,14,15,4,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(164,14,17,3,'2017-11-09 13:14:53','2017-11-09 13:14:53'),(165,36,1,1,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(166,36,2,1,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(167,36,3,2,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(168,36,16,2,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(169,36,4,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(170,36,5,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(171,36,6,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(172,36,12,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(173,36,14,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(174,36,15,4,'2017-11-09 13:16:36','2017-11-09 13:16:36'),(181,36,17,3,'2017-11-09 13:16:37','2017-11-09 13:16:37'),(182,6,1,1,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(183,6,2,1,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(184,6,3,2,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(185,6,16,2,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(187,6,5,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(188,6,6,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(189,6,12,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(190,6,14,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(191,6,15,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(192,6,56,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(193,6,57,4,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(194,6,17,3,'2017-11-09 13:23:18','2017-11-09 13:23:18'),(195,3,1,1,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(196,3,2,1,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(197,3,3,2,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(198,3,16,2,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(199,3,5,4,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(200,3,15,4,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(201,3,4,5,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(202,3,6,5,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(203,3,12,5,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(204,3,14,5,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(205,3,57,5,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(206,3,17,3,'2017-11-09 13:26:18','2017-11-09 13:26:18'),(207,5,1,1,'2017-11-10 09:29:49','2017-11-10 09:29:49'),(208,5,2,1,'2017-11-10 09:29:49','2017-11-10 09:29:49'),(209,5,4,2,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(211,5,6,4,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(212,5,15,4,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(213,5,3,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(214,5,5,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(215,5,13,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(216,5,16,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(217,5,58,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(218,5,59,5,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(219,5,17,3,'2017-11-10 09:29:50','2017-11-10 09:29:50'),(220,7,1,1,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(221,7,2,1,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(222,7,3,2,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(223,7,16,2,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(224,7,4,4,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(233,7,17,3,'2017-11-13 08:24:47','2017-11-13 08:24:47'),(234,2,1,1,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(235,2,2,1,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(236,2,3,2,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(237,2,16,2,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(238,2,4,4,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(239,2111,5,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(240,2111,6,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(241,2111,12,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(242,2111,14,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(243,2111,58,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(244,2111,59,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(245,2111,60,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(246,2111,61,6,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(247,2,17,3,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(248,12,1,1,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(249,12,2,1,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(250,12,5,2,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(251,12,15,2,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(252,12,3,4,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(253,12,16,4,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(254,12,4,5,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(255,12,6,5,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(256,12,17,3,'2017-11-13 08:28:30','2017-11-13 08:28:30'),(257,4,1,1,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(258,4,2,1,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(259,4,3,2,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(260,4,16,2,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(261,4,4,4,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(262,4,5,4,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(263,4,6,4,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(264,4,15,4,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(265,4,17,3,'2017-11-13 08:29:26','2017-11-13 08:29:26'),(279,2,5,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(280,2,6,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(281,2,12,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(283,2,58,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(284,2,59,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(286,2,61,5,'2017-11-13 08:27:43','2017-11-13 08:27:43'),(287,15,5,5,'2017-11-09 13:01:37','2017-11-09 13:01:37'),(288,21,1,1,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(289,21,2,1,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(290,21,4,2,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(291,21,3,4,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(292,21,6,4,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(293,21,15,4,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(294,21,16,4,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(295,21,3,5,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(296,21,6,5,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(297,21,15,5,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(298,21,16,5,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(299,21,17,3,'2018-01-08 15:34:57','2018-01-08 15:34:57'),(300,18,1,1,'2018-01-08 15:37:37','2018-01-08 15:37:37'),(301,18,2,1,'2018-01-08 15:37:37','2018-01-08 15:37:37'),(302,18,6,2,'2018-01-08 15:37:37','2018-01-08 15:37:37'),(303,18,15,2,'2018-01-08 15:37:37','2018-01-08 15:37:37'),(304,18,3,4,'2018-01-08 15:37:38','2018-01-08 15:37:38'),(305,18,16,4,'2018-01-08 15:37:38','2018-01-08 15:37:38'),(306,18,4,5,'2018-01-08 15:37:38','2018-01-08 15:37:38'),(307,18,5,5,'2018-01-08 15:37:38','2018-01-08 15:37:38'),(308,18,17,3,'2018-01-08 15:37:38','2018-01-08 15:37:38'),(309,22,1,1,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(310,22,2,1,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(311,22,3,2,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(312,22,16,2,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(313,22,4,4,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(314,22,5,4,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(315,22,6,4,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(316,22,15,4,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(317,22,4,5,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(318,22,5,5,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(319,22,6,5,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(320,22,15,5,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(321,22,17,3,'2018-01-08 15:40:31','2018-01-08 15:40:31'),(324,74,1,1,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(325,74,62,1,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(326,74,3,2,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(327,74,4,4,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(328,74,5,4,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(329,74,12,4,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(330,74,57,4,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(331,74,17,3,'2018-04-09 03:31:02','2018-04-09 03:31:02'),(332,74,1,1,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(333,74,62,1,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(334,74,3,2,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(335,74,4,4,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(336,74,5,4,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(337,74,12,4,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(338,74,57,4,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(339,74,17,3,'2018-04-09 03:31:03','2018-04-09 03:31:03'),(340,86,1,1,'2019-01-29 16:58:31','2019-01-29 16:58:31'),(341,86,2,1,'2019-01-29 16:58:31','2019-01-29 16:58:31'),(342,86,3,2,'2019-01-29 16:58:31','2019-01-29 16:58:31'),(343,86,16,2,'2019-01-29 16:58:31','2019-01-29 16:58:31'),(344,86,4,4,'2019-01-29 16:58:31','2019-01-29 16:58:31'),(345,86,5,4,'2019-01-29 16:58:32','2019-01-29 16:58:32'),(346,86,6,4,'2019-01-29 16:58:32','2019-01-29 16:58:32'),(347,86,15,4,'2019-01-29 16:58:32','2019-01-29 16:58:32'),(348,86,17,3,'2019-01-29 16:58:32','2019-01-29 16:58:32'),(349,36,7,4,'2019-02-04 08:51:25','2019-02-04 08:51:25'),(350,36,8,4,'2019-02-04 08:51:25','2019-02-04 08:51:25'),(351,36,9,4,'2019-02-04 08:51:25','2019-02-04 08:51:25'),(352,36,10,4,'2019-02-04 08:51:26','2019-02-04 08:51:26'),(353,36,11,4,'2019-02-04 08:51:26','2019-02-04 08:51:26'),(354,36,17,3,'2019-02-04 08:51:26','2019-02-04 08:51:26'),(355,7,1,1,'2019-02-25 17:02:36','2019-02-25 17:02:36'),(356,7,2,1,'2019-02-25 17:02:36','2019-02-25 17:02:36'),(357,7,3,2,'2019-02-25 17:02:36','2019-02-25 17:02:36'),(358,7,16,2,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(359,7,4,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(360,7,5,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(361,7,6,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(362,7,12,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(363,7,14,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(364,7,15,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(365,7,59,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(366,7,60,4,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(367,7,17,3,'2019-02-25 17:02:37','2019-02-25 17:02:37'),(368,87,1,1,'2019-03-25 04:04:17','2019-03-25 04:04:17'),(369,87,2,1,'2019-03-25 04:04:17','2019-03-25 04:04:17'),(370,87,3,2,'2019-03-25 04:04:17','2019-03-25 04:04:17'),(371,87,16,2,'2019-03-25 04:04:17','2019-03-25 04:04:17'),(372,87,4,4,'2019-03-25 04:04:17','2019-03-25 04:04:17'),(373,87,5,4,'2019-03-25 04:04:18','2019-03-25 04:04:18'),(374,87,6,4,'2019-03-25 04:04:18','2019-03-25 04:04:18'),(375,87,15,4,'2019-03-25 04:04:18','2019-03-25 04:04:18'),(376,87,17,3,'2019-03-25 04:04:18','2019-03-25 04:04:18'),(378,3,17,3,'2019-04-08 14:34:05','2019-04-08 14:34:05'),(380,36,17,3,'2019-04-12 04:28:52','2019-04-12 04:28:52'),(381,87,1,1,'2019-04-12 05:45:52','2019-04-12 05:45:52'),(382,87,2,1,'2019-04-12 05:45:52','2019-04-12 05:45:52'),(383,87,3,2,'2019-04-12 05:45:52','2019-04-12 05:45:52'),(384,87,16,2,'2019-04-12 05:45:53','2019-04-12 05:45:53'),(385,87,4,4,'2019-04-12 05:45:53','2019-04-12 05:45:53'),(386,87,5,4,'2019-04-12 05:45:53','2019-04-12 05:45:53'),(387,87,6,4,'2019-04-12 05:45:54','2019-04-12 05:45:54'),(388,87,15,4,'2019-04-12 05:45:55','2019-04-12 05:45:55'),(389,87,16,4,'2019-04-12 05:45:56','2019-04-12 05:45:56'),(390,87,17,3,'2019-04-12 05:45:56','2019-04-12 05:45:56'),(391,7,13,4,'2019-05-29 18:12:32','2019-05-29 18:12:32'),(392,7,17,3,'2019-05-29 18:12:32','2019-05-29 18:12:32'),(393,13,10,5,'2019-05-29 18:33:29','2019-05-29 18:33:29'),(394,13,11,5,'2019-05-29 18:33:29','2019-05-29 18:33:29'),(395,13,12,5,'2019-05-29 18:33:29','2019-05-29 18:33:29'),(396,13,14,5,'2019-05-29 18:33:29','2019-05-29 18:33:29'),(397,13,17,3,'2019-05-29 18:33:29','2019-05-29 18:33:29'),(399,9,15,5,'2019-05-29 18:52:53','2019-05-29 18:52:53'),(400,9,17,3,'2019-05-29 18:52:53','2019-05-29 18:52:53'),(401,6,4,5,'2019-05-31 12:23:22','2019-05-31 12:23:22'),(402,6,17,3,'2019-05-31 12:23:22','2019-05-31 12:23:22'),(403,8,5,4,'2019-05-31 17:07:59','2019-05-31 17:07:59'),(404,8,13,4,'2019-05-31 17:07:59','2019-05-31 17:07:59'),(405,8,59,4,'2019-05-31 17:07:59','2019-05-31 17:07:59'),(406,8,60,4,'2019-05-31 17:07:59','2019-05-31 17:07:59'),(407,8,17,3,'2019-05-31 17:07:59','2019-05-31 17:07:59'),(408,16,5,4,'2019-05-31 17:14:25','2019-05-31 17:14:25'),(409,16,17,3,'2019-05-31 17:14:25','2019-05-31 17:14:25'),(410,6,10,4,'2019-06-12 09:37:25','2019-06-12 09:37:25'),(411,6,11,4,'2019-06-12 09:37:25','2019-06-12 09:37:25'),(412,6,17,3,'2019-06-12 09:37:25','2019-06-12 09:37:25'),(413,114,1,1,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(414,114,2,1,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(415,114,3,2,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(416,114,16,2,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(417,114,4,4,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(418,114,5,4,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(419,114,6,4,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(420,114,15,4,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(421,114,17,3,'2019-07-15 14:32:04','2019-07-15 14:32:04'),(446,86,1,1,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(447,86,2,1,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(448,86,3,2,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(449,86,4,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(450,86,5,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(451,86,6,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(455,86,12,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(457,86,14,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(458,86,15,4,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(467,86,17,3,'2019-11-12 22:57:55','2019-11-12 22:57:55'),(468,118,1,1,'2019-11-13 13:39:13','2019-11-13 13:39:13'),(491,78,4,2,'2020-01-30 18:33:42','2020-01-30 18:33:42'),(492,78,17,3,'2020-01-30 18:33:42','2020-01-30 18:33:42'),(493,78,1,1,'2020-01-30 18:36:57','2020-01-30 18:36:57'),(495,78,4,2,'2020-01-30 18:36:57','2020-01-30 18:36:57'),(496,78,17,3,'2020-01-30 18:36:57','2020-01-30 18:36:57'),(497,78,2,1,'2020-01-31 12:34:23','2020-01-31 12:34:23'),(498,78,17,3,'2020-01-31 12:34:23','2020-01-31 12:34:23'),(499,129,1,1,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(500,129,2,1,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(501,129,3,2,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(502,129,16,2,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(503,129,7,4,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(504,129,8,4,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(505,129,9,4,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(506,129,17,3,'2021-02-04 08:06:06','2021-02-04 08:06:06'),(509,118,1,1,'2021-04-09 08:59:24','2021-04-09 08:59:24'),(512,86,1,1,'2021-04-22 15:19:03','2021-04-22 15:19:03'),(514,86,4,4,'2021-04-22 15:19:03','2021-04-22 15:19:03'),(515,86,17,3,'2021-04-22 15:19:03','2021-04-22 15:19:03'),(516,118,1,1,'2021-04-22 15:23:24','2021-04-22 15:23:24'),(517,118,2,2,'2021-04-22 15:23:24','2021-04-22 15:23:24'),(518,118,4,4,'2021-04-22 15:23:24','2021-04-22 15:23:24'),(519,118,17,3,'2021-04-22 15:23:24','2021-04-22 15:23:24'),(522,86,17,3,'2021-05-14 13:59:06','2021-05-14 13:59:06'),(523,2,60,5,'2022-05-05 18:58:59','2022-05-05 18:58:59'),(524,2,17,3,'2022-05-05 18:58:59','2022-05-05 18:58:59'),(525,2,14,5,'2022-05-05 19:00:51','2022-05-05 19:00:51'),(526,2,17,3,'2022-05-05 19:00:51','2022-05-05 19:00:51'),(527,5,6,4,'2022-05-05 19:36:52','2022-05-05 19:36:52'),(528,5,15,4,'2022-05-05 19:36:52','2022-05-05 19:36:52'),(529,5,17,3,'2022-05-05 19:36:52','2022-05-05 19:36:52'),(530,5,3,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(531,5,5,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(532,5,13,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(533,5,16,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(534,5,58,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(535,5,59,5,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(536,5,17,3,'2022-05-11 14:50:18','2022-05-11 14:50:18'),(537,10,5,4,'2022-06-02 15:02:29','2022-06-02 15:02:29'),(538,10,17,3,'2022-06-02 15:02:29','2022-06-02 15:02:29'),(539,7,56,4,'2022-06-20 10:41:58','2022-06-20 10:41:58'),(540,7,17,3,'2022-06-20 10:41:58','2022-06-20 10:41:58'),(541,138,1,1,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(542,138,2,1,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(543,138,3,2,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(544,138,16,2,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(545,138,4,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(546,138,5,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(547,138,6,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(548,138,12,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(549,138,14,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(550,138,15,4,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(551,138,17,3,'2022-06-20 17:01:43','2022-06-20 17:01:43'),(552,153,1,1,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(553,153,2,1,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(554,153,3,2,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(555,153,16,2,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(556,153,4,4,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(557,153,5,4,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(558,153,6,4,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(559,153,15,4,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(560,153,17,3,'2023-08-28 11:01:26','2023-08-28 11:01:26'),(561,166,1,1,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(562,166,2,1,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(563,166,3,2,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(564,166,5,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(565,166,6,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(566,166,17,3,'2017-09-11 18:00:00','2017-09-11 18:00:00'),(567,166,16,2,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(568,166,15,4,'2017-09-05 18:00:00','2017-09-05 18:00:00'),(569,166,4,4,'2017-09-05 18:00:00','2017-09-05 18:00:00');

--
-- Table structure for table `course_types`
--

CREATE TABLE `course_types` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `course_types_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `course_types`
--

INSERT INTO `course_types` VALUES (1,'Worldbank (THS_UCP)','2017-10-16 21:00:00','2017-10-09 21:00:00'),(2,'Certificate','2016-08-23 21:00:00','2016-08-23 21:00:00'),(3,'Diploma','2016-08-23 21:00:00','2016-08-23 21:00:00'),(4,'Upgrading/Higher Diploma','2016-08-23 21:00:00','2016-08-23 21:00:00'),(5,'Higher Diploma','2016-10-03 21:00:00','2016-10-03 21:00:00'),(6,'Short Course',NULL,NULL),(10,'CHAI',NULL,NULL),(11,'UNHCR','2024-02-27 06:58:24','2024-02-28 06:58:24'),(12,'New level','2024-02-27 12:51:49','2024-02-27 12:51:49');

--
-- Table structure for table `courses`
--

CREATE TABLE `courses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `course` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `duration_int` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `duration_string` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `course_types_id` int unsigned NOT NULL,
  `mean_grade` int NOT NULL,
  `languages` int NOT NULL,
  `compulsory` int NOT NULL,
  `category2` int NOT NULL,
  `category3` int NOT NULL DEFAULT '0',
  `cluster` int NOT NULL,
  `reg_num_format` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `apply` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `process` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `apply_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  `department_id` int NOT NULL DEFAULT '0',
  `readvert` int NOT NULL DEFAULT '0',
  `application_type` int NOT NULL DEFAULT '0',
  `september` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `march` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `type` int NOT NULL DEFAULT '0',
  `additional_uploads` int NOT NULL DEFAULT '0',
  `depends_on_study_mode` int NOT NULL DEFAULT '0',
  `ischai` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `courses_code_unique` (`code`),
  UNIQUE KEY `courses_course_unique` (`course`),
  KEY `courses_course_types_id_foreign` (`course_types_id`),
  CONSTRAINT `courses_course_types_id_foreign` FOREIGN KEY (`course_types_id`) REFERENCES `course_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=167 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `courses`
--

INSERT INTO `courses` VALUES (1,'CNURS','Certificate in Community Health Nursing(Beyond Zero)','2','Two years',3,5,5,5,4,0,19,'C/NURS/','1','0','0','2023-02-08 07:07:35','2024-02-27 13:12:26',3,0,0,'0','1',2,0,0,'0'),(2,'CEHS','Certificate in Public Health ','2','Two Years',2,5,5,5,3,3,23,'C/EHS/','1','1','0','2023-02-08 07:07:35','2020-01-07 18:10:57',10,9,0,'0','1',2,0,0,'0'),(3,'CNUT','Certificate in Nutrition and Dietetics','2','Two Years',2,5,5,4,3,3,21,'C/NUT/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',8,9,0,'0','1',2,0,0,'0'),(4,'CNUR','Certificate in Community Health Nursing','2','Two Years',2,5,5,5,4,0,19,'C/NURS/','1','0','0','2023-02-08 07:07:35','2020-01-09 16:01:46',3,0,4,'0','1',2,0,0,'0'),(5,'CMET','Certificate In Medical Engineering','2','Two Years',2,5,5,3,3,3,20,'C/MET/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',12,0,0,'0','1',2,0,0,'0'),(6,'CHRI','Certificate in Health Records and Information Technology','2','Two Years',2,5,5,4,4,0,18,'C/HRI/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',6,9,0,'0','1',2,0,0,'0'),(7,'COPT','Certificate in Orthopaedic Trauma Medicine','2','Two Years',2,5,5,5,4,4,23,'C/OTM/','1','0','0','2023-02-08 07:07:35','2022-12-11 12:41:55',15,3,0,'0','1',2,0,0,'0'),(8,'DORTHO','Diploma in Orthopaedic Technology','3','Three Years',3,6,6,6,6,5,29,'D/ORTHO/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',15,9,0,'0','1',0,0,0,'0'),(9,'DNUT','Diploma in Nutrition and Dietetics','3','Three Years',3,6,6,5,4,4,25,'D/NUT/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',8,9,0,'0','1',0,0,0,'0'),(10,'DORTM','Diploma in Orthopedic and Trauma Medicine','3','Three Years',3,6,6,6,6,5,29,'D/DOTM/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',15,3,0,'0','1',0,0,0,'0'),(11,'DOCT','Diploma in Occupational Therapy','3','Three Years',3,6,6,6,5,5,28,'D/OT/','1','0','0','2023-02-08 07:07:35','2020-03-04 20:00:50',14,9,0,'0','1',0,0,0,'0'),(12,'DPHARM','Diploma in Pharmacy','3','Three Years',3,6,6,6,6,6,29,'D/PHARM/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',2,9,4,'0','1',0,0,0,'0'),(13,'DHRI','Diploma in Health Records and Information Technology','3','Three Years',3,6,6,5,5,5,28,'D/HRI/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',6,9,0,'0','1',0,0,0,'0'),(14,'DHP','Diploma in Health Promotion','3','Three Years',3,6,6,6,5,0,23,'D/DHEP/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',11,9,0,'0','1',0,0,0,'0'),(15,'DMET','Diploma In Medical Engineering','3','Three Years',3,6,6,6,6,5,29,'D/MET/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',12,9,0,'0','1',0,0,0,'0'),(16,'DPHY','Diploma in Physiotherapy','3','Three Years',3,6,6,6,6,5,29,'D/PHYSIO/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',16,9,0,'0','1',0,0,0,'0'),(17,'DNUR','Diploma in Community Health Nursing','3','Three Years',3,6,6,6,5,0,23,'D/NURS/','1','0','0','2023-02-08 07:07:35','2020-01-09 16:06:01',3,0,4,'0','1',0,0,0,'0'),(18,'DMIS','Diploma in Radiography & Imaging','3','Three Years',3,6,6,6,6,5,29,'D/MIS/','1','0','0','2023-02-08 07:07:35','2020-01-09 18:15:12',5,9,0,'0','1',0,0,0,'0'),(19,'DEHS','Diploma in Public Health','3','Three Years',3,6,6,6,5,5,28,'D/EHS/','1','1','0','2023-02-08 07:07:35','2020-01-07 18:11:36',10,9,0,'0','1',0,0,0,'0'),(20,'DDET','Diploma in Dental Technology','3','Three Years',3,6,6,6,5,5,29,'D/DT/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',13,0,0,'0','1',0,0,0,'0'),(21,'DOPT','Diploma in Optometry','3','Three Years',3,6,6,6,5,5,28,'D/OPT/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',17,9,0,'0','1',0,0,0,'0'),(22,'DCOH','Diploma in Community Oral Health','3','Three Years',3,6,6,6,5,5,28,'D/COH/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',9,0,0,'0','1',0,0,0,'0'),(23,'CM','Diploma in Clinical Medicine & Surgery','3','Three Years',3,6,6,6,6,5,29,'D/CM/','1','0','0','2023-02-08 07:07:35','2023-02-06 19:07:46',1,0,0,'0','1',0,0,0,'0'),(24,'DMLS','Diploma in Medical Laboratory Sciences','3','Three Years',3,6,6,6,6,6,29,'D/MLS/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',4,9,0,'0','1',0,0,0,'0'),(25,'DMPNURS','Diploma in Registered Nursing-Mental Health and Psychiatry','3','Three Years',3,6,6,6,5,0,24,'D/MPNURS/','1','0','0','2023-02-08 07:07:35','2018-11-12 22:01:20',3,0,4,'0','1',0,0,0,'0'),(26,'HDOM','Higher Diploma in Physiotherapy (Orthopedic Manual Therapy)','1 1/2','One and a half Year',4,0,0,0,0,0,0,'HND/OMT/','1','1','oneuro','2023-02-08 07:07:35','2022-12-11 22:22:53',16,0,0,'1','1',0,0,0,'0'),(27,'D','Diploma in Public Health (upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPEHS/','1','1','oneuro','2023-02-08 07:07:35','2020-01-07 18:12:11',10,9,0,'0','1',0,0,0,'0'),(28,'HDNH','Higher Diploma in Physiotherapy (Neurorehabilitation)','1','One Year',4,0,0,0,0,0,0,'HND/NEURO/','1','1','oneuro','2023-02-08 07:07:35','2022-12-11 22:23:27',16,0,0,'1','1',0,0,0,'0'),(29,'HDME','Higher Diploma in Medical Engineering','1','One Year',4,0,0,0,0,0,0,'HND/MET/','1','1','oneuro','2023-02-08 07:07:35','2018-11-12 22:01:21',12,3,0,'0','1',0,0,0,'0'),(30,'DHRIU','Diploma in Health Records and Information Technology (upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPHRIPT/ D/UPHRIFT/','1','1','oneuro','2023-02-08 07:07:35','2020-03-04 19:37:40',6,9,0,'0','1',0,0,0,'0'),(31,'DME','Diploma in Medical Engineering(Upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPMET/','1','1','oneuro','2023-02-08 07:07:35','2018-11-12 22:01:20',12,9,0,'0','1',0,0,0,'0'),(32,'','Diploma in Nutrition & Dietetics (upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPNUT/','1','1','oneuro','2023-02-08 07:07:35','2020-01-07 15:23:42',8,9,0,'1','1',0,0,0,'0'),(33,'1344','Diploma in Community Health Nursing(Distance Learning)','2','Two Years',4,0,0,0,0,0,0,'D/DLNURS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:20',3,9,0,'0','1',0,0,0,'0'),(34,'HNDKRNA','Higher Diploma in Kenya Registered Nurse Anaesthesia','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/KRNA/','1','0','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',3,0,0,'1','1',0,0,0,'0'),(36,'DMSC','Diploma in Medical Social Work','3','Three Years',3,6,6,6,5,5,22,'D/MSW/','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',10,9,0,'0','1',0,0,0,'0'),(37,'HDCCN','Higher Diploma in Critical Care Nursing','1','One Year',4,0,0,0,0,0,0,'HND/CCN/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',3,0,0,'1','1',0,0,0,'0'),(38,'HDPN','Higher Diploma in Psychiatric Nursing','1','One Year',4,0,0,0,0,0,0,'HND/PSYCH/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:21',3,3,0,'0','1',0,0,0,'0'),(39,'HDON','Higher Diploma Ophthalmic Nursing','1','One Year',4,0,0,0,0,0,0,'HND/OPTH/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',3,9,0,'1','1',0,0,0,'0'),(40,'HDPC','Higher Diploma in Perioperative Care','1','One Year',4,0,0,0,0,0,0,'HND/PROP/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',3,3,0,'1','1',0,0,0,'0'),(41,'HDPDN','Higher Diploma in Paediatric Nursing','1','One Year',4,0,0,0,0,0,0,'HND/PAEDN/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:21',3,0,0,'0','1',0,0,0,'0'),(42,'HDPCD','Higher Diploma in Palliative Care ','1 1/2','One and half ears',4,0,0,0,0,0,0,'HND/HDPNC/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',3,3,0,'1','1',0,0,0,'0'),(43,'HDFSI','Higher Diploma in Food Science and Inspection','1','One Year',4,0,0,0,0,0,0,'HND/FSI/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:37',10,3,0,'1','1',0,0,0,'0'),(44,'HDSWM','Higher Diploma in Solid Waste Management','1','One Year',4,0,0,0,0,0,0,'HND/SWM/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:37',10,3,0,'1','1',0,0,0,'0'),(45,'HDOHS','Higher Diploma in Occupational Health and Safety','1','One Year',4,0,0,0,0,0,0,'HND/OHS/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:37',10,9,0,'1','1',0,0,0,'0'),(46,'HDE','Higher Diploma in Epidemiology ','1','One Year',4,0,0,0,0,0,0,'HND/EPID/','1','1','oneuro','2023-02-08 07:07:35','2022-07-07 09:13:55',10,3,0,'1','1',0,2,0,'0'),(47,'HDHEP','Higher Diploma in Health Education and Promotion','1','One Year',4,0,0,0,0,0,0,'HND/HEP/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:37',11,3,0,'1','1',0,0,0,'0'),(48,'HDMED','Higher  Diploma in Medical Education','1','One Year',4,0,0,0,0,0,0,'HND/MED/','1','1','oneuro','2023-02-08 07:07:35','2018-11-12 22:01:20',7,9,0,'0','1',0,0,0,'0'),(49,'HDCHHC','Higher Diploma in Community Health and HIV/AIDS Care ','1','One Year',4,0,0,0,0,0,0,'HND/CHHAC/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:36',3,0,0,'1','1',0,0,0,'0'),(50,'HDMLSPE','Higher Diploma in Medical Laboratory Sciences: Parasitology & Entomology','1','One Year',4,0,0,0,0,0,0,'HND/PARA/','1','1','nursdistant','2023-02-08 07:07:35','2020-01-07 18:13:37',4,3,0,'1','1',0,2,0,'0'),(51,'HDMLSM','Higher Diploma in Medical Laboratory Sciences (Microbiology)','1','One Year',4,0,0,0,0,0,0,'HND/MICROFT/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',4,3,0,'1','1',0,0,0,'0'),(52,'HDMLSCC','Higher Diploma in Medical Laboratory Sciences (Clinical Chemistry)','1','One Year',4,0,0,0,0,0,0,'HND/CCHEM/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',4,3,0,'1','1',0,0,0,'0'),(53,'HDMLSH','Higher Diploma in Medical Laboratory Sciences (  Haematology)','1','One Year',4,0,0,0,0,0,0,'HND/HAEMA/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',4,3,0,'1','1',0,0,0,'0'),(54,'HDMLSHC','Higher Diploma in Medical Laboratory Sciences (Histopathology & Cytopathology)','1','One Year',4,0,0,0,0,0,0,'HND/HISTOFT/','1','1','nursdistant','2023-02-08 07:07:35','2021-08-31 12:51:28',4,3,0,'1','1',0,2,0,'0'),(55,'HDMLSV','Higher Diploma in Medical Laboratory Sciences (Virology)','1','One Year',4,0,0,0,0,0,0,'HND/VIR/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',4,3,0,'1','1',0,0,0,'0'),(56,'HDMLSBTS','Higher Diploma in Medical Laboratory Sciences(Blood Transfusion Sciences)','1','One Year',4,0,0,0,0,0,0,'HND/BTS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:37',4,3,0,'1','1',0,0,0,'0'),(57,'HDCMSP','Higher Diploma in Clinical Medicine and Surgery (Pediatrics)','1 1/2','One and half years',4,0,0,0,0,0,0,'HND/PAED/','1','1','nursdistant','2023-02-08 07:07:35','2021-12-07 11:39:09',1,0,0,'1','1',0,0,0,'0'),(58,'HDCMSLSD','Higher Diploma in Clinical Medicine and Surgery( Lung and Skin Diseases)','1','One Year',4,0,0,0,0,0,0,'HND/LSK/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',1,0,0,'1','1',0,0,0,'0'),(59,'HDCMSOCS','Higher Diploma in Clinical Medicine and Surgery (Ophthalmology and Cataract Surgery)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/OPHT/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',1,0,0,'1','1',0,0,0,'0'),(60,'HDCMSOARLV','Higher Diploma in Clinical Medicine and Surgery (Ophthalmology Advanced Refraction and Low Vision)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/HDOLV/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',1,0,0,'1','1',0,0,0,'0'),(61,'HDCMSENTA','Higher Diploma in Clinical Medicine & Surgery (Ear, Nose, Throat, Head & Neck Surgery)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/ENT/','1','1','nursdistant','2023-02-08 07:07:35','2021-05-14 15:24:19',1,0,0,'1','1',0,0,0,'0'),(62,'HDCMSRH','Higher Diploma in Clinical Medicine and Surgery(Reproductive Health)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/RH/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',1,0,0,'1','1',0,0,0,'0'),(63,'HDCMSA','Higher Diploma in Clinical Medicine and Surgery( Anesthesia)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/ANAE/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-17 07:38:36',1,0,0,'1','1',0,0,0,'0'),(64,'HDCMSMHPHY','Higher Diploma in Clinical Medicine and Surgery (Mental Health and Psychiatry)','1 1/2','One and half years',4,0,0,0,0,0,0,'HND/HDMHP/','1','1','nursdistant','2023-02-08 07:07:35','2021-05-24 17:04:03',1,9,0,'1','1',0,0,0,'0'),(65,'HDMISU','Higher Diploma in Radiography & Imaging (Ultrasonography)','1','One Year',4,0,0,0,0,0,0,'HND/MIS/','1','1','oneuro','2023-02-08 07:07:35','2022-08-16 13:43:16',5,9,0,'0','1',0,0,1,'0'),(66,'HDRT','Higher Diploma in Radiography & Imaging (Radiation Therapy)','1 1/2','One and half Years',4,0,0,0,0,0,0,'HND/RAD/','1','1','oneuro','2023-02-08 07:07:35','2020-01-14 18:22:45',5,9,0,'0','1',0,0,0,'0'),(67,'HDHSDL','Higher Diploma in Health Systems Management (Distance Learning)','1','One Year',4,0,0,0,0,0,0,'HND/HDHSM/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:37',18,0,0,'1','1',0,0,0,'0'),(68,'HDASDL','Higher Diploma in Addictive Science (Distance Learning)','1','One Year',4,0,0,0,0,0,0,'HND/ASDL/','1','1','oneuro','2023-02-08 07:07:35','2021-02-10 10:30:47',1,0,0,'1','1',0,0,0,'0'),(69,'HDCBRDL','Higher Diploma in Community Based Rehabilitation (Distance Learning)','1','One Year',4,0,0,0,0,0,0,'HND/CBR/','1','1','oneuro','2023-02-08 07:07:35','2018-11-17 07:38:36',15,0,0,'1','1',0,0,0,'0'),(70,'DMLSU','Diploma in Medical Laboratory Sciences (Upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPMLS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:20',4,9,0,'0','1',0,0,0,'0'),(71,'DCHNUP','Diploma in Community Health Nursing(upgrading)','1 1/2','One and a half Years',4,0,0,0,0,0,0,'D/UPNURS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:20',3,0,0,'0','1',0,0,0,'0'),(72,'DOTMU','Diploma in Orthopaedic and Trauma Medicine(Upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPOTM/','1','1','oneuro','2023-02-08 07:07:35','2018-11-12 22:01:20',15,3,0,'0','1',0,0,0,'0'),(73,'DCHN','Diploma in Community Health Nursing(EN/EM)','2','Two Years',4,0,0,0,0,0,0,'D/UPNURS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:20',3,0,0,'0','1',0,0,0,'0'),(74,'CHEPD','Certificate In Health Promotion for Deaf','2','Two Years',2,4,4,3,3,0,10,'CHEPD','1','1','0','2023-02-08 07:07:35','2018-11-12 22:01:20',11,3,0,'0','1',0,0,0,'0'),(75,'HND/ORTHO','Higher Diploma in Clinical Medicine & Surgery (Orthopedics)','1 1/2','One Year',4,0,0,0,0,0,0,'HND/ORTHO/','1','1','nursdistant','2023-02-08 07:07:35','2021-01-13 09:34:53',1,9,0,'1','1',0,0,0,'0'),(76,'HND/METD','Higher Diploma in Medical Engineering (Dialysis)','1','One Year',4,0,0,0,0,0,0,'HND/METD/','1','1','oneuro','2023-02-08 07:07:35','2018-11-12 22:01:21',12,9,0,'0','1',0,0,0,'0'),(77,'HNDNEPH','Higher Diploma in Nephrology Nursing','1','One year',4,0,0,0,0,0,0,'HND/NEPH/','1','1','nursdistant','2023-02-08 07:07:35','2022-02-21 10:28:40',3,0,0,'0','1',0,0,0,'0'),(78,'CHRIP','Certificate in Health Records and Information Technology Parallel','2','2 Years',2,5,5,4,4,0,13,'C/HRI/','1','1','0','2023-02-08 07:07:35','2019-11-12 21:10:53',6,0,4,'0','1',2,1,0,'0'),(79,'HNDCMS','Higher Diploma in Clinical Medicine and Surgery (Family Health)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/CMS/','1','1','nursdistant','2023-02-08 07:07:35','2019-11-12 20:43:31',1,0,0,'1','1',0,0,0,'0'),(80,'HNDFHN','Higher Diploma in Family Health Nursing ','1 1/2','One and half years',4,0,0,0,0,0,0,'HND/FHN/','1','1','nursdistant','2023-02-08 07:07:35','2022-02-28 10:12:26',3,0,0,'1','1',0,0,0,'0'),(81,'CHE','Certificate in Community Health Extension Work ','4','Four Months',4,0,0,0,0,0,0,'C/CHEW/','1','1','nursdistant','2023-02-08 07:07:35','2020-01-07 15:39:52',11,0,0,'1','1',0,0,0,'0'),(82,'DNURS','Dialysis Nursing','0','0',4,0,0,0,0,0,0,'D/DNURS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:20',3,0,0,'0','1',0,0,0,'0'),(83,'HNDDNURS','Higher National Diploma in Dialysis Nursing','6','SIX MONTHS',4,6,6,6,5,5,22,'C/DNURS/','1','1','nursdistant','2023-02-08 07:07:35','2018-11-12 22:01:21',3,0,0,'0','1',0,0,0,'0'),(84,'HDGERNURS','HIGHER DIPLOMA IN GERIATRICS NURSING','1 Year','One Year',4,6,6,6,5,5,22,'HD/GERNURS/','0','1','nursdistant','2023-02-08 07:07:35','2018-12-04 08:28:37',3,0,0,'0','0',0,0,0,'0'),(85,'HDORTHTEC','Higher Diploma in Orthopeadic Technology (Orthotics)','1 year','One year',4,6,6,6,6,5,23,'HD/ORTHTEC/','0','1','oneuro','2023-02-08 07:07:35','2018-12-04 09:11:44',15,0,0,'0','0',0,0,0,'0'),(86,'CCHA','Certificate in Community Health Assistant','2 years','two years',2,5,4,4,3,0,12,'C/CHA/','0','1','0','2023-02-08 07:07:35','2019-11-12 20:40:53',11,0,0,'0','0',0,0,0,'0'),(87,'DKRNM','Diploma In Kenya Registered Nursing & Midwifery','3','Three years',3,6,6,6,5,0,17,'D/KRNM/','0','1','0','2023-02-08 07:07:35','2019-03-25 04:00:36',3,0,0,'0','0',0,0,0,'0'),(88,'HNDOPT','Higher Diploma in Optometry (Contact Lenses)','1 Year','One Year',4,0,0,0,0,0,0,'HND/OPTC/','0','1','oneuro','2023-02-08 07:07:35','2019-04-12 05:32:40',17,0,0,'0','0',0,0,0,'0'),(89,'HNDCHEM','Higher Diploma in Clinical Medicine & Surgery (Chest Medicine)','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/CHEM/','0','1','nursdistant','2023-02-08 07:07:35','2019-05-22 16:57:14',1,0,0,'0','0',0,0,0,'0'),(90,'HNDDERV','Higher Diploma in Clinical Medicine & Surgery (Dermatology & Venereology)','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/DERV/','0','1','nursdistant','2023-02-08 07:07:35','2019-05-22 17:01:45',1,0,0,'0','0',0,0,0,'0'),(91,'SHTS','HIV Testing services (HTS)','3','Three weeks',6,0,0,0,0,0,0,'S/HTS/','0','1','0','2023-02-08 07:07:35','2019-05-31 12:55:24',11,0,0,'0','0',0,0,0,'0'),(92,'SECHO','Echocardiography','3 months','Three months',6,0,0,0,0,0,0,'S/ECHO/','0','1','oneuro','2023-02-08 07:07:35','2020-01-25 21:31:54',5,0,0,'0','0',0,0,0,'0'),(93,'SMOE','Monitoring and Evaluation (Part - Time)','4','four weeks',6,0,0,0,0,0,0,'S/MOE/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 19:29:49',10,0,0,'0','0',0,0,0,'0'),(94,'SHCE','Health Care Entreprenuership','2','Two Weeks',6,0,0,0,0,0,0,'S/HCE/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 19:37:34',18,0,0,'0','0',0,0,0,'0'),(95,'SPHLEB','Safe Phlebotomy','3','3 days',6,0,0,0,0,0,0,'S/PHLEB/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 19:39:58',4,0,0,'0','0',0,0,0,'0'),(96,'SFALS','First Aid and Basic Life Support','2','2 weeks',6,0,0,0,0,0,0,'S/FALS/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 19:52:08',11,0,0,'0','0',0,0,0,'0'),(97,'SSLHW','Sign Language for Health Workers','6','6 months',6,0,0,0,0,0,0,'S/SLHW/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:06:01',7,0,0,'0','0',0,0,0,'0'),(98,'SCHP','Foundations Course in Community Health','6','6 months',6,0,0,0,0,0,0,'S/CHD/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 17:35:25',11,0,0,'0','0',0,0,0,'0'),(99,'SMEBE','Medical Engineering (Basic electronics)','3','3 Months',6,0,0,0,0,0,0,'S/MEBE/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:19:18',12,0,0,'0','0',0,0,0,'0'),(100,'SMEBW','Medical Engineering (Basic electrical wiring)','3','3 Months',6,0,0,0,0,0,0,'S/MEBW/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:29:13',12,0,0,'0','0',0,0,0,'0'),(101,'MERAC','Medical Engineering (Refrigeration, air conditioning and cold room)','3','3 Months',6,0,0,0,0,0,0,'S/MERAC/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:35:02',12,0,0,'0','0',0,0,0,'0'),(102,'SDIAN','Dialysis Nursing (Short Course)','3 months','3 Months',6,0,0,0,0,0,0,'S/DIAN/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:39:03',3,0,0,'0','0',0,0,0,'0'),(103,'SADHC','Adherence Counselling','1','One Week',6,0,0,0,0,0,0,'S/ADHC/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 20:40:46',11,0,0,'0','0',0,0,0,'0'),(104,'SFHI','Food Hygiene and Inspection','6','Six Weeks',6,0,0,0,0,0,0,'S/FHI/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 22:30:58',10,0,0,'0','0',0,0,0,'0'),(105,'SCSHP','Counseling skills for Healthcare Professionals','6','6 Months',6,0,0,0,0,0,0,'S/CSHP/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 22:34:06',11,0,0,'0','0',0,0,0,'0'),(106,'SIPHP','Infection Prevention for Health Professionals','5','Five days',6,0,0,0,0,0,0,'S/IPHP/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 22:39:40',11,0,0,'0','0',0,0,0,'0'),(107,'SIPNHP','Infection Prevention for Non-Health Professionals','5','Five days',6,0,0,0,0,0,0,'S/IPNHP/','0','1','oneuro','2023-02-08 07:07:35','2019-06-05 22:46:00',11,0,0,'0','0',0,0,0,'0'),(108,'UPNURSENEM','Diploma in Community Health Nursing - EN/EM','2','2 Years',4,0,0,0,0,0,0,'D/UPENEM/','0','1','nursdistant','2023-02-08 07:07:35','2019-06-06 09:08:09',3,0,0,'0','0',0,0,0,'0'),(109,'HNDONC','Higher Diploma in Oncology Nursing','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/ONC/','0','1','oneuro','2023-02-08 07:07:35','2019-06-06 10:30:22',3,0,0,'0','0',0,0,0,'0'),(110,'SWELF','Medical Engineering (Wielding and fabrication)','3','3 Months',6,0,0,0,0,0,0,'S/WELF/','0','1','oneuro','2023-02-08 07:07:35','2019-06-06 12:02:41',12,0,0,'0','0',0,0,0,'0'),(111,'HND/AHCT/','Higher Diploma in Clinical Medicine & Surgery (Audiology & Hearing Care Technology)','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/AHCT/','0','1','nursdistant','2023-02-08 07:07:35','2021-05-14 15:34:56',1,0,0,'0','0',0,0,0,'0'),(113,'HND/ECCM','Higher Diploma in  Emergency & Critical Care Medicine','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/ECCM/','0','1','nursdistant','2023-02-08 07:07:35','2019-07-15 14:17:04',1,0,0,'0','0',0,0,0,'0'),(114,'DKERN','Diploma in Registered Nursing','3','Three years',3,6,6,6,5,0,17,'D/KERN/','0','1','0','2023-02-08 07:07:35','2019-07-15 14:27:44',3,0,0,'0','0',0,0,0,'0'),(115,'HND/OPC','Higher Diploma in Clinical Medicine & Surgery (Oncology & Palliative Care)','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/OPC/','0','1','nursdistant','2023-02-08 07:07:35','2019-08-20 12:53:13',1,0,0,'0','0',0,0,0,'0'),(116,'HND/GOPHT','Higher Diploma in Clinical Medicine & Surgery (Ophthalmology)','1 1/2','one and half years',4,0,0,0,0,0,0,'HND/GOPHT/','0','1','nursdistant','2023-02-08 07:07:35','2021-01-19 10:16:26',1,0,0,'0','0',0,0,0,'0'),(117,'S/CHV','Community Health Volunteers Course','2','Two Weeks',6,0,0,0,0,0,0,'S/CHV/','0','1','oneuro','2023-02-08 07:07:35','2019-10-25 16:54:56',11,0,0,'0','0',0,0,0,'0'),(118,'UPCHA','Certificate in Community Health Assistant (Upgrading)','2','2 Years',2,3,0,0,0,0,3,'C/UPCHA/','0','1','0','2023-02-08 07:07:35','2019-11-12 20:41:15',11,0,0,'0','0',0,2,0,'0'),(119,'S/PNEURO','Peadiatric Neurorehabilitation','2','Two Weeks',6,0,0,0,0,0,0,'S/PNEURO/','0','1','oneuro','2023-02-08 07:07:35','2019-12-30 20:02:17',16,0,0,'0','0',0,0,0,'0'),(120,'S/WOMH','Women\'s Health (Level 3)','2 weeks','Two Weeks',6,0,0,0,0,0,0,'S/WOMH/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 11:39:18',16,0,0,'0','0',0,0,0,'0'),(121,'S/VESR','Vestibular Rehabilitation','1','1 Week',6,0,0,0,0,0,0,'S/VESR/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 12:00:15',16,0,0,'0','0',0,0,0,'0'),(122,'S/WOMH1','Women\'s Health (Level 1)','2','2 weeks',6,0,0,0,0,0,0,'S/WOMH1/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 12:04:32',16,0,0,'0','0',0,0,0,'0'),(123,'S/CARPR','Cardiopulmonary Rehabilitation','2','Two Weeks',6,0,0,0,0,0,0,'S/CARPR/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 12:07:32',16,0,0,'0','0',0,0,0,'0'),(124,'S/EXTP','Exercise Theory and Prescription','2','Two Weeks',6,0,0,0,0,0,0,'S/EXTP/','0','1','oneuro','2023-02-08 07:07:35','2020-01-07 12:11:54',16,0,0,'0','0',0,0,0,'0'),(125,'HND/COMT','Higher Diploma In Radiography & Imaging (Computed Tomography)','1','1 Year',4,0,0,0,0,0,0,'HND/COMT/','0','1','oneuro','2023-02-08 07:07:35','2020-01-14 18:34:11',5,0,0,'0','0',0,0,0,'0'),(126,'HND/MRI','Higher Diploma in Radiography & Imaging (Magnetic Resonance Imaging)','1','1 Year',4,0,0,0,0,0,0,'HND/MRI/','0','1','oneuro','2023-02-08 07:07:35','2020-01-14 18:35:37',5,0,0,'0','0',0,0,0,'0'),(127,'HND/MRIP','Higher Diploma In Medical Imaging Sciences (Magnetic Resonance Imaging) Part Time','1 1/2','One and half years',4,0,0,0,0,0,0,'HND/MRIP/','0','1','oneuro','2023-02-08 07:07:35','2020-01-10 10:11:28',5,0,0,'0','0',0,0,0,'0'),(128,'S/EMT/','Emergency Medical Technician','1','One Yaar',6,5,0,0,0,0,5,'S/EMT/','0','1','0','2023-02-08 07:07:35','2021-01-28 09:47:30',1,0,0,'0','0',0,0,0,'0'),(129,'D/HEC/','Diploma in Health Counselling','3','Three years',3,6,6,4,5,0,15,'D/HEC/','0','1','0','2023-02-08 07:07:35','2021-02-04 08:03:40',3,0,0,'0','0',0,0,0,'0'),(130,'HND/PHARM','Higher Diploma in Clinical Pharmacy','1 1/2','One and half years',4,0,0,0,0,0,0,'HND/CPHARM/','0','1','nursdistant','2023-02-08 07:07:35','2021-08-06 08:59:25',2,0,0,'0','0',0,0,0,'0'),(131,'S/UFM','Point of Care Ultrasound for Midwives','6','6 Months',6,0,0,0,0,0,0,'S/UFM/','0','1','oneuro','2023-02-08 07:07:35','2021-03-21 12:34:42',5,0,0,'0','0',0,0,0,'0'),(132,'S/UES','Upper Extremity Splinting in Occupational Therapy','2','2 Weeks',6,0,0,0,0,0,0,'S/UES/','0','1','oneuro','2023-02-08 07:07:35','2021-06-09 12:47:07',14,0,0,'0','0',0,0,0,'0'),(133,'HND/NEPHCM','Higher Diploma in Clinical Medicine & Surgery (Nephrology)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/NEPHCM/','0','1','nursdistant','2023-02-08 07:07:35','2021-08-25 19:30:23',1,0,0,'0','0',0,0,0,'0'),(134,'HND/SLP','Higher Diploma in Clinical Medicine & Surgery (Speech and Language Pathology)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/SLP/','0','1','nursdistant','2023-02-08 07:07:35','2021-08-25 19:32:23',1,0,0,'0','0',0,0,0,'0'),(135,'S/RANAE','Regional Anaesthesia','6','6 Months',6,0,0,0,0,0,0,'S/RANAE/','0','1','oneuro','2023-02-08 07:07:35','2022-01-11 11:39:32',1,0,0,'0','0',0,0,0,'0'),(136,'HND/WHPR','Higher Diploma in Physiotherapy (Pelvic Rehabilitation)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/WHPR/','0','1','nursdistant','2023-02-08 07:07:35','2022-12-11 22:25:08',16,0,0,'0','0',0,0,0,'0'),(137,'S/ENLP','International English Language Course','6','Six Weeks',6,0,0,0,0,0,0,'S/ENLP/','0','1','0','2023-02-08 07:07:35','2022-02-17 11:46:00',3,0,0,'0','0',0,0,0,'0'),(138,'D/CH','Diploma in Community Health','3','Three Years',3,6,5,4,3,0,13,'D/CH/','0','1','0','2023-02-08 07:07:35','2022-06-20 16:55:52',11,0,0,'0','0',0,0,0,'0'),(141,'D/UPCH','Diploma in Community Health (Upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPCHA/','0','1','oneuro','2023-02-08 07:07:35','2022-07-17 12:30:29',11,0,0,'0','0',0,0,0,'0'),(142,'HND/RPHARM','Higher Diploma in Renal Pharmacy','1 1/2','One and a half years',4,6,6,6,6,6,24,'HND/RPHARM/','0','1','nursdistant','2023-02-08 07:07:35','2022-07-17 12:58:36',2,0,0,'0','0',0,0,0,'0'),(143,'HND/OTMP','Higher Diploma in Orthopedic and Trauma Medicine (Pediatrics)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/OTMP/','0','1','oneuro','2023-02-08 07:07:35','2022-07-17 13:06:49',15,0,0,'0','0',0,0,0,'0'),(144,'HND/GBV','Higher Diploma in Medical Social Work (Gender Based Violence)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/GBV/','0','1','oneuro','2023-02-08 07:07:35','2022-07-17 13:15:59',0,0,0,'0','0',0,0,0,'0'),(145,'HND/RNUT','Higher Diploma in Nutrition and Dietetics (Renal Nutrition)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/RNUT/','0','1','nursdistant','2023-02-08 07:07:35','2022-07-17 13:29:21',8,0,0,'0','0',0,0,0,'0'),(146,'HND/OTRR','Higher Diploma in Occupational Therapy (Renal Rehabilitation)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/OTRR/','0','1','oneuro','2023-02-08 07:07:35','2022-07-17 13:35:21',0,0,0,'0','0',0,0,0,'0'),(147,'S/CMH/','Community Mental Health','12','12 weeks',6,0,0,0,0,0,0,'S/CMH/','0','1','0','2023-02-08 07:07:35','2022-09-06 13:30:38',0,0,0,'0','0',0,0,0,'0'),(148,'S/DRP','Diagnostic Radiology for Physiotherapists','7','7 Months',6,0,0,0,0,0,0,'S/DRP/','0','1','0','2023-02-08 07:07:35','2022-10-13 09:33:39',0,0,0,'0','0',0,0,0,'0'),(149,'D/MORS','Diploma in Mortuary Science','3','Three Years',3,5,0,0,0,0,5,'D/MORS/','0','1','0','2023-02-08 07:07:35','2022-12-11 13:09:36',0,0,0,'0','0',0,0,0,'0'),(150,'D/UPMORS','Diploma in Mortuary Science (Upgrading)','2','Two Years',4,0,0,0,0,0,0,'D/UPMORS/','0','1','oneuro','2023-02-08 07:07:35','2022-12-11 13:15:09',0,0,0,'0','0',0,0,0,'0'),(151,'C/EMT','Certificate in Emergency Medical Technician','1','1 Year',2,5,0,0,0,0,5,'C/EMT/','0','1','0','2023-02-08 07:07:35','2022-12-11 13:24:27',0,0,0,'0','0',0,0,0,'0'),(152,'HND/CARD','Higher Diploma in Physiotherapy (Cardiopulmonary)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/CARD/','0','1','oneuro','2023-02-08 07:07:35','2022-12-11 22:28:21',0,0,0,'0','0',0,0,0,'0'),(153,'HND/PROS','Higher Diploma in Orthopaedic Technology (Prosthetics)','1 1/2','One and a half years',4,0,0,0,0,0,0,'HND/PROS/','0','1','oneuro','2023-02-08 07:07:35','2022-12-11 22:46:51',0,0,0,'0','0',0,0,0,'0'),(156,'FF','Opthalmology and Cataract Surgery(Scholarship) ','ff','ff',4,0,0,0,0,0,0,'D/ABC/','0','1','oneuro','2023-07-13 17:55:00','2023-07-13 17:55:00',0,0,0,'0','0',0,0,0,'1'),(157,'CNURS1','DIPLOMA IN SPEECH AND LANGUAGE THERAPY','2','Two years',1,5,5,5,4,0,19,'C/NURS/','1','0','0','2023-02-08 07:07:35','2020-01-09 16:03:16',3,0,0,'0','1',2,0,0,'0'),(166,'CNURS-UNHCR','Certificate in Community Health Nursing(UNHCR)','2','Two years',11,5,5,5,4,0,19,'C/NURS/','1','0','0','2023-02-08 07:07:35','2020-01-09 16:03:16',3,0,0,'0','1',2,0,0,'0');

--
-- Table structure for table `defarment_dates`
--

CREATE TABLE `defarment_dates` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `calender_id` int unsigned NOT NULL,
  `intake_id` int unsigned NOT NULL,
  `new_date` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `defarment_dates`
--

INSERT INTO `defarment_dates` VALUES (1,32877,4,1,'09/10/2019','2019-07-03 17:14:19','2019-07-03 17:14:19'),(2,32877,4,2,'03/10/2020','2019-08-26 13:21:13','2019-08-26 13:21:13'),(3,32877,5,1,'09/07/2021','2019-10-23 14:14:18','2019-10-23 14:14:18'),(4,32877,5,2,'03/30/2021','2019-10-23 14:17:52','2019-10-23 14:17:52'),(5,32877,6,1,'09/07/2021','2021-02-01 09:29:03','2021-02-01 09:29:03'),(6,32877,6,1,'03/08/2022','2021-02-01 09:35:22','2021-02-01 09:35:22'),(7,32877,6,2,'03/08/2022','2021-04-16 15:57:33','2021-04-16 15:57:33'),(8,32877,7,1,'09/07/2022','2022-06-29 11:49:44','2022-06-29 11:49:44'),(9,32877,8,1,'09/19/2023','2024-03-03 09:46:20','2024-03-03 09:46:20'),(10,32877,7,2,'03/14/2023','2024-03-04 22:46:19','2024-03-04 22:46:19'),(11,32877,8,2,'04/30/2024','2024-03-11 19:24:58','2024-03-11 19:24:58'),(12,32877,9,1,'09/10/2024','2024-07-24 17:01:25','2024-07-24 17:01:25'),(13,32877,10,1,'03/11/2025','2024-07-26 19:18:11','2024-07-26 19:18:11');

--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `faculty_id` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `departments`
--

INSERT INTO `departments` VALUES (1,'DEPARTMENT OF CLINICAL MEDICINE','2017-02-07 09:49:14','2017-02-07 09:49:14',1),(2,'DEPARTMENT OF PHARMACY','2017-02-07 10:41:15','2017-02-07 10:41:15',2),(3,'DEPARTMENT OF NURSING','2017-02-07 10:43:12','2017-02-07 10:43:12',3),(4,'DEPARTMENT OF MEDICAL LABORATORY SCIENCES','2017-02-07 10:53:18','2017-02-07 10:53:18',4),(5,'DEPARTMENT OF MEDICAL IMAGING SCIENCES','2017-02-07 10:57:24','2017-02-07 10:57:24',4),(6,'DEPARTMENT OF HEALTH RECORDS & INFORMATION TECHNOLOGY','2017-02-07 11:07:46','2017-02-07 11:07:46',5),(7,'DEPARTMENT OF MEDICAL EDUCATION & RESEARCH','2017-02-07 11:07:46','2017-02-07 11:07:46',5),(8,'DEPARTMENT OF COMMUNITY NUTRITION','2017-02-07 11:11:41','2017-02-07 11:11:41',6),(9,'DEPARTMENT OF COMMUNITY ORAL HEALTH','2017-02-07 11:11:41','2017-02-07 11:11:41',6),(10,'DEPARTMENT OF ENVIRONMENTAL HEALTH SCIENCES','2017-02-07 11:11:41','2017-02-07 11:11:41',6),(11,'DEPARTMENT OF HEALTH EDUCATION & PROMOTION','2017-02-07 11:11:41','2017-02-07 11:11:41',6),(12,'DEPARTMENT OF MEDICAL ENGINEERING','2017-02-07 11:11:41','2017-02-07 11:11:41',6),(13,'DEPARTMENT OF DENTAL TECHNOLOGY','2017-02-07 12:15:07','2017-02-07 12:15:07',7),(14,'DEPARTMENT OF OCCUPATIONAL THERAPY','2017-02-07 12:15:07','2017-02-07 12:15:07',7),(15,'DEPARTMENT OF ORTHOPAEDIC TECHNOLOGY','2017-02-07 12:15:07','2017-02-07 12:15:07',7),(16,'DEPARTMENT OF PHYSIOTHERAPY','2017-02-07 12:15:07','2017-02-07 12:15:07',7),(17,'DEPARTMENT OF OPTOMETRY','2017-02-07 12:15:07','2017-02-07 12:15:07',7),(18,'DEPARTMENT OF HEALTH  SYSTEMS MANAGEMENT','2020-01-07 12:25:35','2020-01-07 12:25:35',5);

--
-- Table structure for table `downloads`
--

CREATE TABLE `downloads` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` tinyint NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `downloads`
--


--
-- Table structure for table `employment_histories`
--

CREATE TABLE `employment_histories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `emp_organization` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_from` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_to` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_contact` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `emp_responsibilities` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `employment_histories`
--

INSERT INTO `employment_histories` VALUES (6,1,'Ad Synthentic','12 feb','Current','B','Yes','7777','Full Stack Devolment','2023-07-17 08:18:12','2023-07-17 08:18:12'),(7,1,'Ad Synthentic','12 feb','Current','C','No','7777','Full Stack Devolment','2023-07-17 08:19:59','2023-07-17 08:19:59'),(9,1,'Ad Synthentic','12 feb','Current','Full stack dev','Yes','7777','Responsibilities 1','2023-08-01 08:25:56','2023-08-01 08:25:56'),(10,1,'Ad Synthentic','12 feb','Current','Full stack dev','Yes','7777','mmm','2023-08-01 14:06:02','2023-08-01 14:06:02'),(11,1,'Ad Synthentic','12 feb','Current','Full stack dev','Yes','7777','nn','2023-08-01 14:06:02','2023-08-01 14:06:02'),(12,1,'Ad Synthentic','12 feb','Current','Full stack dev','Yes','7777','55','2023-08-02 07:41:37','2023-08-02 07:41:37'),(13,1,'Ad Synthentic','12 feb','Current','Full stack dev','Yes','0734752541','Developer','2023-08-02 08:53:19','2023-08-02 08:53:19'),(14,17,'Royec','2017','2023','CTO','Yes','07137273937','System Designs','2023-11-23 12:28:16','2023-11-23 12:28:16'),(15,1,'Test','Test','Test','Test','Yes','Test','Test','2024-08-01 11:07:06','2024-08-01 11:07:06'),(16,32878,'test','test','test','test','Yes','888','nnnn','2024-08-10 18:04:33','2024-08-10 18:04:33');

--
-- Table structure for table `export`
--

CREATE TABLE `export` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `export`
--


--
-- Table structure for table `exports`
--

CREATE TABLE `exports` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `action` varchar(30) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `exports`
--

INSERT INTO `exports` VALUES (1,2,'2023-09-17 15:42:51','2023-09-17 15:42:51',''),(2,2,'2023-09-17 15:43:55','2023-09-17 15:43:55',''),(3,2,'2023-09-17 15:44:25','2023-09-17 15:44:25',''),(4,2,'2024-02-02 07:13:57','2024-02-02 07:13:57',''),(5,2,'2024-02-02 07:14:13','2024-02-02 07:14:13',''),(6,2,'2024-02-02 07:14:21','2024-02-02 07:14:21',''),(7,2,'2024-03-25 08:03:35','2024-03-25 08:03:35','');

--
-- Table structure for table `faculties`
--

CREATE TABLE `faculties` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `faculties_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `faculties`
--

INSERT INTO `faculties` VALUES (1,'FACULTY OF CLINICAL SCIENCES ','2017-02-07 09:48:35','2017-02-07 09:48:35'),(2,'FACULTY OF PHARMACEUTICAL SCIENCES','2017-02-07 10:40:09','2017-02-07 10:40:09'),(3,'FACULTY OF NURSING','2017-02-07 10:42:48','2017-02-07 10:42:48'),(4,'FACULTY OF DIAGNOSTIC SCIENCES','2017-02-07 10:52:36','2017-02-07 10:52:36'),(5,'FACULTY OF INFORMATION TECHNOLOGY & MEDICAL EDUCATION','2017-02-07 11:01:49','2017-02-07 11:01:49'),(6,'FACULTY OF PUBLIC HEALTH SCIENCES','2017-02-07 11:09:41','2017-02-07 11:09:41'),(7,'FACULTY OF REHABILITATIVE SCIENCES','2017-02-07 12:11:02','2017-02-07 12:11:02');

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `connection` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `fee_categories`
--

CREATE TABLE `fee_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `fee_categories`
--


--
-- Table structure for table `fee_structures`
--

CREATE TABLE `fee_structures` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `academic_calenders_id` int unsigned NOT NULL,
  `student_classes_id` int unsigned NOT NULL,
  `amount` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `particulars` json NOT NULL,
  `student_categories_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `semester` int NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `fee_structures_student_categories_id_foreign` (`student_categories_id`),
  KEY `fee_structures_academic_calenders_id_foreign` (`academic_calenders_id`),
  KEY `fee_structures_course_id_foreign` (`course_id`),
  KEY `fee_structures_student_classes_id_index` (`student_classes_id`),
  CONSTRAINT `fee_structures_academic_calenders_id_foreign` FOREIGN KEY (`academic_calenders_id`) REFERENCES `academic_calenders` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `fee_structures_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`) ON UPDATE CASCADE,
  CONSTRAINT `fee_structures_student_categories_id_foreign` FOREIGN KEY (`student_categories_id`) REFERENCES `student_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fee_structures_student_classes_id_foreign` FOREIGN KEY (`student_classes_id`) REFERENCES `student_classes` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `fee_structures`
--


--
-- Table structure for table `fees_structures`
--

CREATE TABLE `fees_structures` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `academic_calenders_id` int unsigned NOT NULL,
  `student_classes_id` int unsigned NOT NULL,
  `amount` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `particulars` json NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_categories_id` int unsigned NOT NULL,
  `course_id` int unsigned NOT NULL DEFAULT '0',
  `semester` int NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  KEY `fees_structures_academic_calenders_id_foreign` (`academic_calenders_id`),
  KEY `fees_structures_student_classes_id_index` (`student_classes_id`),
  KEY `fees_structures_student_categories_id_foreign` (`student_categories_id`),
  CONSTRAINT `fees_structures_academic_calenders_id_foreign` FOREIGN KEY (`academic_calenders_id`) REFERENCES `academic_calenders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fees_structures_student_categories_id_foreign` FOREIGN KEY (`student_categories_id`) REFERENCES `student_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `fees_structures_student_classes_id_foreign` FOREIGN KEY (`student_classes_id`) REFERENCES `student_classes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `fees_structures`
--


--
-- Table structure for table `hey_balances`
--

CREATE TABLE `hey_balances` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int unsigned NOT NULL,
  `amount` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `hey_balances`
--


--
-- Table structure for table `higher_diplomas`
--

CREATE TABLE `higher_diplomas` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `course_id` int unsigned NOT NULL,
  `campus_id` int unsigned NOT NULL DEFAULT '67',
  `previouscourse_id` int unsigned NOT NULL,
  `modeofstudy_id` int unsigned NOT NULL,
  `user_confirm` int NOT NULL DEFAULT '0',
  `verification` int NOT NULL DEFAULT '0',
  `verified_by` int unsigned NOT NULL DEFAULT '0',
  `reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `selected` int NOT NULL DEFAULT '0',
  `selected_by` int NOT NULL DEFAULT '0',
  `removed_by` int NOT NULL DEFAULT '0',
  `assigned` int NOT NULL DEFAULT '0',
  `date_assigned` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `date_verified` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `assigned_by` int NOT NULL DEFAULT '0',
  `intake` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '2',
  `graduation_year` int NOT NULL DEFAULT '0',
  `employment_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `employer` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT '0',
  `academic_calender_id` int NOT NULL DEFAULT '2',
  `date_selected` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_deselected` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `current_station` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `archived` int NOT NULL DEFAULT '0',
  `archived_by` int NOT NULL DEFAULT '0',
  `archived_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `higher_diplomas_user_id_foreign` (`user_id`),
  KEY `higher_diplomas_course_id_foreign` (`course_id`),
  KEY `higher_diplomas_campus_id_foreign` (`campus_id`),
  KEY `higher_diplomas_previouscourse_id_foreign` (`previouscourse_id`),
  KEY `higher_diplomas_modeofstudy_id_foreign` (`modeofstudy_id`),
  CONSTRAINT `higher_diplomas_campus_id_foreign` FOREIGN KEY (`campus_id`) REFERENCES `campuses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `higher_diplomas_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE,
  CONSTRAINT `higher_diplomas_modeofstudy_id_foreign` FOREIGN KEY (`modeofstudy_id`) REFERENCES `mode_of_studies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `higher_diplomas_previouscourse_id_foreign` FOREIGN KEY (`previouscourse_id`) REFERENCES `previous_courses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `higher_diplomas`
--

INSERT INTO `higher_diplomas` VALUES (2,1,156,59,1,1,1,0,0,'0',0,0,0,0,'0','0','2023-07-13 19:24:57','2023-07-13 19:24:57',0,'1',2022,'No','',10,NULL,NULL,'',0,0,NULL);

--
-- Table structure for table `hostel_room_categories`
--

CREATE TABLE `hostel_room_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `hostel_id` int unsigned NOT NULL DEFAULT '0',
  `room_category_id` int unsigned NOT NULL DEFAULT '0',
  `status` int unsigned NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `hostel_room_categories`
--


--
-- Table structure for table `hostels`
--

CREATE TABLE `hostels` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `campuses_id` int unsigned NOT NULL DEFAULT '1',
  `status` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `hostels_name_unique` (`name`),
  KEY `hostels_campuses_id_foreign` (`campuses_id`),
  CONSTRAINT `hostels_campuses_id_foreign` FOREIGN KEY (`campuses_id`) REFERENCES `campuses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `hostels`
--


--
-- Table structure for table `incomplete_full`
--

CREATE TABLE `incomplete_full` (
  `id` int NOT NULL AUTO_INCREMENT,
  `Names` varchar(255) NOT NULL,
  `National_Id` varchar(255) NOT NULL,
  `County` varchar(255) NOT NULL,
  `Assigned` int NOT NULL,
  `downloaded` int NOT NULL DEFAULT '0',
  `Exported` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `National_Id` (`National_Id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `incomplete_full`
--


--
-- Table structure for table `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `job_batches`
--


--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved` tinyint unsigned NOT NULL DEFAULT '0',
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_reserved_reserved_at_index` (`queue`,`reserved`,`reserved_at`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `jobs`
--


--
-- Table structure for table `join_instructions`
--

CREATE TABLE `join_instructions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `file_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `academic_calender_id` int unsigned NOT NULL DEFAULT '0',
  `student_intake_id` int unsigned NOT NULL DEFAULT '0',
  `foreign` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `join_instructions_course_id_foreign` (`course_id`),
  CONSTRAINT `join_instructions_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `join_instructions`
--


--
-- Table structure for table `kins`
--

CREATE TABLE `kins` (
  `user_id` int unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `relation` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`),
  KEY `kins_user_id_foreign` (`user_id`),
  CONSTRAINT `kins_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `kins`
--

INSERT INTO `kins` VALUES (1,'John Doe','Brother','+254888','2023-02-08 07:09:20','2023-08-02 08:36:59',NULL,1),(9,'Masika Joseph Simiyu','Parent','+254741067626','2023-09-08 20:08:18','2023-09-08 20:08:18',NULL,7),(10,'EKAAL  GEOFREY','Parent','+254759728710','2023-09-08 20:09:20','2023-09-08 20:09:20',NULL,8),(17,'Jane','Brother','+2548767564545','2023-11-23 10:00:01','2023-11-23 10:00:01',NULL,15),(94,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:03:37','2024-03-09 10:03:37',NULL,56),(95,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:04:32','2024-03-09 10:04:32',NULL,57),(96,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:08:10','2024-03-09 10:08:10',NULL,58),(97,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:08:28','2024-03-09 10:08:28',NULL,59),(98,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:09:10','2024-03-09 10:09:10',NULL,60),(99,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:10:27','2024-03-09 10:10:27',NULL,61),(100,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-09 10:11:16','2024-03-09 10:11:16',NULL,62),(101,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-12 07:20:15','2024-03-12 07:20:15',NULL,63),(102,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-12 10:23:55','2024-03-12 10:23:55',NULL,64),(103,'NJUE INNOCENT WENDO','Parent','796494518','2024-03-12 10:24:11','2024-03-12 10:24:11',NULL,65),(107,'NJUE INNOCENT WENDO','Parent','796494518','2024-04-13 11:08:53','2024-04-13 11:08:53',NULL,66),(110,'John does','Brother','+254888','2024-08-01 12:13:23','2024-08-01 12:13:23',NULL,67),(32879,'John does','Brother','+254888','2024-08-10 16:17:05','2024-08-10 16:17:05',NULL,68);

--
-- Table structure for table `kmtc_classes`
--

CREATE TABLE `kmtc_classes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `class_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `kmtc_classes`
--


--
-- Table structure for table `kuccp_lists`
--

CREATE TABLE `kuccp_lists` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `kuccps_studentid` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `citizenship` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kcse_year` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `mean_grade` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `county` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `constituency` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kuccps_programme_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `programme_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `level` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `campus` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `disability` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `email_1` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `email_2` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `primary_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `secondary_phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `calender` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '8',
  `intake` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Yes',
  `comments` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `campus_assignment_status` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'No',
  `campus_assignment_commnets` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'No',
  `control` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `kuccp_lists`
--

INSERT INTO `kuccp_lists` VALUES (1,'202226500001125','F','C','2022','NJUE INNOCENT WENDO','B','EMBU',NULL,'5000K30','Certificate in Nutrition and Dietetics','DIPLOMA','NAIROBI','no','innocentwendo37@gmail.com19','njuekelvin416@gmail.com','745214419','796494518','8','2','2023-09-01 11:53:56','2024-04-19 10:51:13','Yes','Success','Yes','Successful',1),(2,'20221435510213912720','F','C','2022','NJUE INNOCENT WENDO','B','EMBU',NULL,'5000K30','Certificate in Nutrition and Dietetics','DIPLOMA','  NAIROBI CAMPUS','no','innocentwendo37@gmail.com1120','njuekelvin416@gmail.com','745214419','796494518','7','1','2023-09-01 11:53:56','2024-04-11 19:21:44','Yes','Success','Yes','Campus does not exist 1',0),(3,'21','F','C','2022','NJUE INNOCENT WENDO','B','EMBU',NULL,'5000K30','Certificate in Nutrition and Dietetics','DIPLOMA','  NAIROBI CAMPUS','no','innocentwendo37@gmail.com12621','njuekelvin416@gmail.com','745214419','796494518','7','1','2023-09-01 11:53:56','2024-04-11 19:21:44','Yes','Success','Yes','Campus does not exist 1',0);

--
-- Table structure for table `l_permission_role`
--

CREATE TABLE `l_permission_role` (
  `permission_id` int unsigned NOT NULL,
  `role_id` int unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `l_permission_role_role_id_foreign` (`role_id`),
  CONSTRAINT `l_permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `l_permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `l_permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `l_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `l_permission_role`
--


--
-- Table structure for table `l_permission_user`
--

CREATE TABLE `l_permission_user` (
  `permission_id` int unsigned NOT NULL,
  `user_id` int unsigned NOT NULL,
  `user_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`user_id`,`permission_id`,`user_type`),
  KEY `l_permission_user_permission_id_foreign` (`permission_id`),
  CONSTRAINT `l_permission_user_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `l_permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `l_permission_user`
--

INSERT INTO `l_permission_user` VALUES (3,32877,'App\\User'),(4,32877,'App\\User'),(5,32877,'App\\User'),(6,32877,'App\\User'),(7,32877,'App\\User'),(8,32877,'App\\User'),(9,32877,'App\\User'),(10,32877,'App\\User'),(11,32877,'App\\User'),(12,32877,'App\\User'),(13,32877,'App\\User'),(14,32877,'App\\User'),(15,32877,'App\\User'),(16,32877,'App\\User'),(17,32877,'App\\User'),(18,32877,'App\\User'),(19,32877,'App\\User'),(20,32877,'App\\User'),(21,32877,'App\\User'),(22,32877,'App\\User'),(23,32877,'App\\User'),(24,32877,'App\\User'),(25,32877,'App\\User'),(26,32877,'App\\User'),(27,32877,'App\\User'),(28,32877,'App\\User'),(29,32877,'App\\User'),(30,32877,'App\\User'),(31,32877,'App\\User'),(32,32877,'App\\User'),(33,32877,'App\\User'),(34,32877,'App\\User'),(35,32877,'App\\User'),(36,32877,'App\\User'),(37,32877,'App\\User'),(38,32877,'App\\User'),(39,32877,'App\\User'),(40,32877,'App\\User'),(41,32877,'App\\User'),(42,32877,'App\\User'),(43,32877,'App\\User'),(44,32877,'App\\User'),(45,32877,'App\\User'),(46,32877,'App\\User'),(47,32877,'App\\User'),(48,32877,'App\\User'),(49,32877,'App\\User'),(50,32877,'App\\User'),(51,32877,'App\\User'),(52,32877,'App\\User'),(53,32877,'App\\User'),(54,32877,'App\\User'),(55,32877,'App\\User'),(56,32877,'App\\User'),(57,32877,'App\\User'),(58,32877,'App\\User'),(59,32877,'App\\User'),(60,32877,'App\\User'),(61,32877,'App\\User'),(62,32877,'App\\User'),(63,32877,'App\\User'),(64,32877,'App\\User'),(65,32877,'App\\User'),(66,32877,'App\\User'),(67,32877,'App\\User'),(68,32877,'App\\User'),(69,32877,'App\\User'),(70,32877,'App\\User'),(71,32877,'App\\User'),(72,32877,'App\\User'),(73,32877,'App\\User'),(74,32877,'App\\User'),(75,32877,'App\\User'),(76,32877,'App\\User'),(77,32877,'App\\User'),(78,32877,'App\\User'),(79,32877,'App\\User'),(80,32877,'App\\User'),(81,32877,'App\\User'),(82,32877,'App\\User'),(83,32877,'App\\User'),(84,32877,'App\\User'),(85,32877,'App\\User'),(86,32877,'App\\User'),(87,32877,'App\\User'),(88,32877,'App\\User'),(89,32877,'App\\User'),(90,32877,'App\\User'),(91,32877,'App\\User'),(92,32877,'App\\User'),(93,32877,'App\\User'),(94,32877,'App\\User'),(95,32877,'App\\User'),(96,32877,'App\\User'),(97,32877,'App\\User'),(98,32877,'App\\User'),(99,32877,'App\\User'),(100,32877,'App\\User'),(101,32877,'App\\User'),(102,32877,'App\\User'),(103,32877,'App\\User'),(104,32877,'App\\User'),(105,32877,'App\\User'),(107,32877,'App\\User'),(108,32877,'App\\User'),(109,32877,'App\\User'),(110,32877,'App\\User'),(111,32877,'App\\User'),(112,32877,'App\\User'),(113,32877,'App\\User'),(114,32877,'App\\User'),(115,32877,'App\\User'),(116,32877,'App\\User'),(117,32877,'App\\User'),(118,32877,'App\\User'),(119,32877,'App\\User'),(120,32877,'App\\User'),(121,32877,'App\\User'),(122,32877,'App\\User'),(123,32877,'App\\User'),(124,32877,'App\\User'),(125,32877,'App\\User'),(126,32877,'App\\User'),(127,32877,'App\\User'),(128,32877,'App\\User'),(129,32877,'App\\User'),(130,32877,'App\\User'),(131,32877,'App\\User'),(132,32877,'App\\User'),(133,32877,'App\\User'),(134,32877,'App\\User'),(135,32877,'App\\User'),(136,32877,'App\\User'),(137,32877,'App\\User'),(138,32877,'App\\User'),(139,32877,'App\\User'),(140,32877,'App\\User');

--
-- Table structure for table `l_permissions`
--

CREATE TABLE `l_permissions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `display_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `l_permissions_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=142 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `l_permissions`
--

INSERT INTO `l_permissions` VALUES (3,'usersadmission','Add User','Add and Access list of department users','2017-09-06 21:00:00','2017-09-06 21:00:00'),(4,'addrole','Add Role','Add a new role','2017-09-06 21:00:00','2017-09-06 21:00:00'),(5,'allroles','All Roles','View All Roles','2017-09-06 21:00:00','2017-09-06 21:00:00'),(6,'coursedisability','Disabled Students','Access List of Disabled Students','2017-09-06 21:00:00','2017-09-06 21:00:00'),(7,'websitelist','All Posted Students','All Posted Students','2017-09-06 21:00:00','2017-09-06 21:00:00'),(8,'studentstobank','Bank List','Bank List','2017-09-06 21:00:00','2017-09-06 21:00:00'),(9,'updatestudentstobank','Update of Bank List','Update of Bank List','2017-09-06 21:00:00','2017-09-06 21:00:00'),(10,'listtocampus','Campus List Update','Campus List Update','2017-09-06 21:00:00','2017-09-06 21:00:00'),(11,'beyondreplace','BeyondZero Replacement','BeyondZero Replacement','2017-09-06 21:00:00','2017-09-06 21:00:00'),(12,'comprehensivecampuslist','Comprehensive Campus List','Comprehensive Campus List','2017-09-06 21:00:00','2017-09-06 21:00:00'),(13,'postedunsigned','Posted Unsigned Inservice','Posted Unsigned Inservice','2017-09-06 21:00:00','2017-09-06 21:00:00'),(14,'postedunsignedpreservice','Posted Unsigned Preservice','Posted Unsigned Preservice','2017-09-06 21:00:00','2017-09-06 21:00:00'),(15,'postedpreservicecampus','Posted Per Program','Posted Per Program','2017-09-06 21:00:00','2017-09-06 21:00:00'),(16,'preserviceweblist','Preservice Posting List','Preservice Posting List','2017-09-06 21:00:00','2017-09-06 21:00:00'),(17,'inserviceweblist','Inservice Posting List','Inservice Posting List','2017-09-06 21:00:00','2017-09-06 21:00:00'),(18,'withsciences','Bio/Physical Sciences','Bio/Physical Sciences','2017-09-06 21:00:00','2017-09-06 21:00:00'),(19,'appliedprecourses','Preservice Summary','Preservice Summary','2017-09-10 21:00:00','2017-09-10 21:00:00'),(20,'applicationspercampus','Preservice Campus Apps','Preservice Campus Applications','2017-09-10 21:00:00','2017-09-10 21:00:00'),(21,'verifiedapplicationspercamp','Verified Preservice','Verified Preservice','2017-09-10 21:00:00','2017-09-10 21:00:00'),(22,'qualifiedperprogram','Qualified Per Program','Qualified Per Program','2017-09-10 21:00:00','2017-09-10 21:00:00'),(23,'choicetwoqualified','Qualified Choice 2','Qualified Choice 2','2017-09-10 21:00:00','2017-09-10 21:00:00'),(24,'dgeneralreport','Disablity General Report','Disablity General Report','2017-09-10 21:00:00','2017-09-10 21:00:00'),(25,'appliedpostcourses','Inservice March Summary','Inservice March Summary','2017-09-10 21:00:00','2017-09-10 21:00:00'),(26,'appliedpostcourse','Inservice Sept Summary','Inservice Sept Summary','2017-09-10 21:00:00','2017-09-10 21:00:00'),(27,'generalreport','General Report','General Report','2017-09-10 21:00:00','2017-09-10 21:00:00'),(28,'inservicepercampus','Inservice Per Campus','Inservice Per Campus','2017-09-10 21:00:00','2017-09-10 21:00:00'),(29,'verifiedinservicepercampus','Verified Inservice','Verified Inservice','2017-09-10 21:00:00','2017-09-10 21:00:00'),(30,'sortedinservice','Sorting Inservice','Sorting Inservice','2017-09-10 21:00:00','2017-09-10 21:00:00'),(31,'searchpayment','Search payment','Search payment','2017-09-10 21:00:00','2017-09-10 21:00:00'),(32,'applicationsfee','All Payments','All Payments','2017-09-10 21:00:00','2017-09-10 21:00:00'),(33,'coursesdept','All Course','All Course','2017-09-10 21:00:00','2017-09-10 21:00:00'),(34,'studentscounty','Students County','Students County','2017-09-10 21:00:00','2017-09-10 21:00:00'),(35,'commitments','Committed Student','Committed Student','2017-09-10 21:00:00','2017-09-10 21:00:00'),(36,'setacademiccalender','Set Academic Calendar','Set Academic Calendar','2017-09-10 21:00:00','2017-09-10 21:00:00'),(37,'studentCategory','Student Category','Student Category','2017-09-10 21:00:00','2017-09-10 21:00:00'),(38,'classes','Classes','Classes','2017-09-10 21:00:00','2017-09-10 21:00:00'),(39,'addcourse','Add Course','Add Course','2017-09-10 21:00:00','2017-09-10 21:00:00'),(40,'setcompulsory','Set Compulsory Subject','Set Compulsory Subject','2017-09-10 21:00:00','2017-09-10 21:00:00'),(41,'setother','Set Other Subject','Set Other Subject','2017-09-10 21:00:00','2017-09-10 21:00:00'),(42,'adjustcapacity','Adjust Course Capacity','Adjust Course Capacity','2017-09-10 21:00:00','2017-09-10 21:00:00'),(43,'setpreviouscourse','Set Previous Course','Set Previous Course','2017-09-14 05:24:12','2017-09-14 05:24:12'),(44,'setcoursemode','Set Course StudyMode','Set Course StudyMode','2017-09-14 05:24:12','2017-09-14 05:24:12'),(45,'openapplication','Open Application','Open Application','2017-09-14 05:24:12','2017-09-14 05:24:12'),(46,'closeapplication','Close Application','Close Application','2017-09-14 05:24:12','2017-09-14 05:24:12'),(47,'joininstructions','Upload Instructions','Upload Instructions','2017-09-14 05:24:12','2017-09-14 05:24:12'),(48,'setsubcounties','Set Subcounties','Set Subcounties','2017-09-14 05:32:16','2017-09-14 05:32:16'),(49,'setconstituencies','Set Costituencies','Set Costituencies','2017-09-14 05:32:16','2017-09-14 05:32:16'),(50,'setfuculty','Set Faculty','Set Faculty','2017-09-14 05:32:16','2017-09-14 05:32:16'),(51,'setdepartments','Set Department','Set Department','2017-09-14 05:32:16','2017-09-14 05:32:16'),(52,'deptcourse','Assign Course-Department','Assign Course-Department','2017-09-14 05:32:16','2017-09-14 05:32:16'),(53,'setstudentclass','Student Class','Student Class','2017-09-14 05:32:16','2017-09-14 05:32:16'),(54,'course_to_campus','Assign Campus Course','Assign Campus Course','2017-09-14 05:32:16','2017-09-14 05:32:16'),(55,'actions','Actions','Actions','2017-09-14 05:32:16','2017-09-14 05:32:16'),(56,'adminusers','User Management','User Management','2017-09-14 05:32:16','2017-09-14 05:32:16'),(57,'postedinservice','Posted Inservice','Posted Inservice','2017-09-14 05:59:24','2017-09-14 05:59:24'),(58,'higherassigncampus','Assign Campus','Assign Campus','2017-09-14 05:59:24','2017-09-14 05:59:24'),(59,'inserviceselected','Selected Inservice','Selected Inservice','2017-09-14 05:59:24','2017-09-14 05:59:24'),(60,'inserviceselection','Select Inservice','Select Inservice','2017-09-14 05:59:24','2017-09-14 05:59:24'),(61,'chrikuria','CHRI kuria','CHRI kuria','2017-09-14 05:59:24','2017-09-14 05:59:24'),(62,'postedpreservice','Posted Preservice','Posted Preservice','2017-09-14 05:59:24','2017-09-14 05:59:24'),(63,'assignanycampus','Assign Any Campus','Assign Any Campus','2017-09-14 05:59:24','2017-09-14 05:59:24'),(64,'assigncampus','Assign Campus','Assign Campus','2017-09-14 05:59:24','2017-09-14 05:59:24'),(65,'changemanual','Update Records','Update Records','2017-09-14 05:59:24','2017-09-14 05:59:24'),(66,'removestudents','Remove Student','Remove Student','2017-09-14 05:59:24','2017-09-14 05:59:24'),(67,'courseTransfer','Student Course Transfer','Student Course Transfer','2017-09-14 06:09:27','2017-09-14 06:09:27'),(68,'campusTransfer','Student Campus Transfer','Student Campus Transfer','2017-09-14 06:09:27','2017-09-14 06:09:27'),(69,'pendingenrollment','Pending Enrollment','Pending Enrollment','2017-09-14 06:09:27','2017-09-14 06:09:27'),(70,'enrolledstudents','Enrolled Students','Enrolled Students','2017-09-14 06:09:27','2017-09-14 06:09:27'),(71,'newadmitstudents','Enrol Students','Enrol Students','2017-09-14 06:09:27','2017-09-14 06:09:27'),(72,'preserviceselected','Selected Students','Selected Students','2017-09-14 10:30:04','2017-09-14 10:30:04'),(73,'postedbeyondzero','Posted BEYONDZERO','Posted BEYONDZERO','2017-09-14 10:30:04','2017-09-14 10:30:04'),(74,'beyondselected','Selected BEYONDZERO','Selected BEYONDZERO','2017-09-14 10:30:04','2017-09-14 10:30:04'),(75,'beyondselection','Select BEYONDZERO Students','Select BEYONDZERO Students','2017-09-14 10:30:04','2017-09-14 10:30:04'),(76,'preserviceselection','Select Students','Select Students','2017-09-14 10:30:04','2017-09-14 10:30:04'),(77,'applyinservice','Apply For Inservice Student','Apply For Inservice Student','2017-09-14 10:30:04','2017-09-14 10:30:04'),(78,'applicantapply','Apply For Preservice Student','Apply For Preservice Student','2017-09-14 10:30:04','2017-09-14 10:30:04'),(79,'expelstudent','Expel Student','Expel Student','2017-09-14 10:36:49','2017-09-14 10:36:49'),(80,'suspendstudent','Suspension','Suspension','2017-09-14 10:36:49','2017-09-14 10:36:49'),(81,'studentcampus','Change Campus','Change Campus','2017-09-14 10:36:49','2017-09-14 10:36:49'),(82,'deferredstudent','Deferred Students','Deferred Students','2017-09-14 10:36:49','2017-09-14 10:36:49'),(83,'deferstudent','Deferment','Deferment','2017-09-14 10:36:49','2017-09-14 10:36:49'),(84,'inservicerejected','Rejected Applications','Rejected Applications','2017-09-14 10:36:49','2017-09-14 10:36:49'),(85,'inserviceverified','Verified','Verified','2017-09-14 10:36:49','2017-09-14 10:36:49'),(86,'inserviceverification','Verify Inservice','Verify Inservice','2017-09-14 10:36:49','2017-09-14 10:36:49'),(87,'searchapplications','Search Applications','Search Applications','2017-09-14 10:44:15','2017-09-14 10:44:15'),(88,'belowrequirements','Below Requirements','Below Requirements','2017-09-14 10:44:15','2017-09-14 10:44:15'),(89,'dqualified','Qualified With Disability','Qualified With Disability','2017-09-14 10:44:15','2017-09-14 10:44:15'),(90,'qualified','Qualified Applicants','Qualified Applicants','2017-09-14 10:44:15','2017-09-14 10:44:15'),(91,'preserviceverified','Verified Applications','Verified Applications','2017-09-14 10:44:15','2017-09-14 10:44:15'),(92,'preserviceverification','Verify','Verify','2017-09-14 10:44:15','2017-09-14 10:44:15'),(93,'socialwork','Course Modification','Course Modification','2017-09-14 10:44:15','2017-09-14 10:44:15'),(94,'beyondzeroverify','Verify BeyondZero','Verify BeyondZero','2017-09-14 11:08:24','2017-09-14 11:08:24'),(95,'editbeyond','Edit Grades','Edit Grades','2017-09-14 11:08:24','2017-09-14 11:08:24'),(96,'beyondresults','Beyond Zero Results','Beyond Zero Results','2017-09-14 11:08:24','2017-09-14 11:08:24'),(97,'beyondcriteria','Enter Marks','Enter Marks','2017-09-14 11:08:24','2017-09-14 11:08:24'),(98,'emaillogin','Login Applicants Account','Login Applicants Account','2017-09-14 11:08:24','2017-09-14 11:08:24'),(99,'allapplicants','All Applicants','All Applicants','2017-09-14 11:08:24','2017-09-14 11:08:24'),(100,'upgradingappss','Inservice/Upgrading 2017','Inservice/Upgrading 2017','2017-09-14 11:08:24','2017-09-14 11:08:24'),(101,'upgradingapps','Inservice/Upgrading Applicants','Inservice/Upgrading Applicants','2017-09-14 11:12:51','2017-09-14 11:12:51'),(102,'preserviceappss','Pre-Service Sept 2017','Pre-Service Sept 2017','2017-09-14 11:12:51','2017-09-14 11:12:51'),(103,'preserviceapps','Pre-Service Applicants','Pre-Service Applicants','2017-09-14 11:12:51','2017-09-14 11:12:51'),(104,'beyondzeroapps','BeyondZero Applicants','BeyondZero Applicants','2017-09-14 11:12:51','2017-09-14 11:12:51'),(105,'preservicereadvert','Preservice Readvert','Preservice Readvert','2017-09-14 11:12:51','2017-09-14 11:12:51'),(107,'addpermission','AddView Permissions','AddView Permissions','2017-09-14 11:20:54','2017-09-14 11:20:54'),(108,'coursecampus','Courses Offered Per Campus','Courses Offered Per Campus','2017-09-15 11:06:03','2017-09-15 11:06:03'),(109,'permissionrole','Attach Permission Role','Attach Permission Role','2017-09-19 08:16:47','2017-09-19 08:16:47'),(110,'toerp','To ERP','To ERP','2017-10-03 05:35:20','2017-10-03 05:35:20'),(111,'nonweb','Requested List','Requested List','2017-10-03 05:35:20','2017-10-03 05:35:20'),(112,'graduatestudents','Completed Students','Completed Students','2017-10-03 05:35:20','2017-10-03 05:35:20'),(113,'searchreg','search student registration','search student registration','2017-10-06 08:03:44','2017-10-06 08:03:44'),(114,'lettersposted','Letter Posting Trails','Letter Posting Trails','2017-10-09 12:17:33','2017-10-09 12:17:33'),(115,'assignrole','Assign User Role','Assign User Role','2017-10-11 06:08:58','2017-10-11 06:08:58'),(116,'coursesubjects','Subjects required by cource','Subjects required by cource','2017-10-17 05:42:55','2017-10-17 05:42:55'),(117,'coursereq','Course Requirements','Course Requirements','2017-10-17 05:42:55','2017-10-17 05:42:55'),(118,'adminchangeupload','Change Applicant Upload','Change Applicant Upload','2018-01-16 03:57:11','2018-01-16 03:57:11'),(119,'stdmessage','Applicants Messages','Applicants Messages','2018-01-16 04:07:36','2018-01-16 04:07:36'),(120,'verifyapplications','New Verification','New Verification','2018-02-12 04:13:28','2018-02-12 04:13:28'),(121,'verifiedpreservice','Verified Preservice Applications','Verified Preservice Applications','2018-02-12 04:13:28','2018-02-12 04:13:28'),(122,'logintails','Login Logs','Login Logs','2018-08-20 06:46:20','2018-08-20 06:46:20'),(123,'onlineusers','Online Users','Online Users','2018-08-20 06:46:20','2018-08-20 06:46:20'),(124,'errorlogs','Error Logs','Error Logs','2018-08-20 06:46:20','2018-08-20 06:46:20'),(125,'courserevision','Revision Of Courses','Revision Of Courses','2018-08-20 06:51:49','2018-08-20 06:51:49'),(126,'dailylogs','Daily Logs','Daily Logs','2018-08-20 06:53:31','2018-08-20 06:53:31'),(127,'permissionroleanalysis','Role Permission Analysis','Role Permission Analysis','2018-09-03 03:24:34','2018-09-03 03:24:34'),(128,'masscoursetransfer','Mass Student Course Transfer','Mass Student Course Transfer','2018-09-12 10:48:27','2018-09-12 10:48:27'),(129,'reversever','Reverse Verification','Reverse Verification','2018-09-13 08:38:42','2018-09-13 08:38:42'),(130,'salutation','Add Salutation','Can Add Salutaion To be used','2018-09-29 14:42:57','2018-09-29 14:42:57'),(131,'setsign','Add Signature','Can Add Signature','2018-09-29 14:42:57','2018-09-29 14:42:57'),(132,'letterrelease','Letter Release','Can Release Letters to Students','2018-09-29 14:42:57','2018-09-29 14:42:57'),(133,'letterposting','Sign Letters','Can Sign Letters','2018-09-29 14:42:57','2018-09-29 14:42:57'),(134,'applicationinstructions','Add Application User Guides and Adverts','Add Application User Guides and Adverts','2018-09-30 12:58:26','2018-09-30 12:58:26'),(135,'newopencourses','Open courses for application','Open courses for application','2018-10-04 11:47:04','2018-10-04 11:47:04'),(136,'newclosecourses','Close courses for application','Close courses for application','2018-10-04 11:47:04','2018-10-04 11:47:04'),(137,'assignrights','Assign users Rigts','Assign users Rigts',NULL,NULL),(138,'rightsanalysis','View and Edit User Rigts','View and Edit User Rigts',NULL,NULL),(139,'verificationtrails','Verification Trails','View Verification Trails',NULL,NULL),(140,'archiveapplication','Archive Applications','Archive Applications',NULL,NULL),(141,'archivepayment','Archive Payment','Archive Payment',NULL,NULL);

--
-- Table structure for table `l_role_user`
--

CREATE TABLE `l_role_user` (
  `role_id` int unsigned NOT NULL,
  `user_id` int unsigned NOT NULL,
  `user_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`user_id`,`role_id`,`user_type`),
  KEY `l_role_user_role_id_foreign` (`role_id`),
  CONSTRAINT `l_role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `l_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `l_role_user`
--


--
-- Table structure for table `l_roles`
--

CREATE TABLE `l_roles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `display_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `l_roles_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `l_roles`
--

INSERT INTO `l_roles` VALUES (1,'ICT Level','ICT Deparment',NULL,'2019-01-21 03:23:31','2019-01-21 03:23:31'),(2,'Level 1','Posting of Letters',NULL,'2019-01-21 03:25:36','2019-01-21 03:25:36');

--
-- Table structure for table `lara_permission_role`
--

CREATE TABLE `lara_permission_role` (
  `permission_id` bigint unsigned NOT NULL,
  `role_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `lara_permission_role_role_id_foreign` (`role_id`),
  CONSTRAINT `lara_permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `lara_permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `lara_permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `lara_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lara_permission_role`
--


--
-- Table structure for table `lara_permission_user`
--

CREATE TABLE `lara_permission_user` (
  `permission_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `user_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`user_id`,`permission_id`,`user_type`),
  KEY `lara_permission_user_permission_id_foreign` (`permission_id`),
  CONSTRAINT `lara_permission_user_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `lara_permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lara_permission_user`
--

INSERT INTO `lara_permission_user` VALUES (1,32,'App\\Models\\User'),(2,32,'App\\Models\\User'),(3,32,'App\\Models\\User'),(4,32,'App\\Models\\User'),(5,32,'App\\Models\\User'),(6,32,'App\\Models\\User'),(7,32,'App\\Models\\User'),(8,32,'App\\Models\\User'),(9,32,'App\\Models\\User'),(10,1,'App\\Models\\User'),(10,32,'App\\Models\\User'),(11,1,'App\\Models\\User'),(11,32,'App\\Models\\User'),(12,1,'App\\Models\\User'),(12,32,'App\\Models\\User'),(13,1,'App\\Models\\User'),(13,32,'App\\Models\\User'),(15,1,'App\\Models\\User'),(15,32,'App\\Models\\User'),(16,32,'App\\Models\\User'),(17,32,'App\\Models\\User'),(18,32,'App\\Models\\User'),(19,32,'App\\Models\\User'),(20,32,'App\\Models\\User'),(21,32,'App\\Models\\User'),(22,32,'App\\Models\\User'),(23,32,'App\\Models\\User'),(24,32,'App\\Models\\User'),(25,32,'App\\Models\\User'),(26,32,'App\\Models\\User'),(27,32,'App\\Models\\User'),(28,32,'App\\Models\\User'),(29,32,'App\\Models\\User'),(30,32,'App\\Models\\User'),(31,32,'App\\Models\\User'),(32,32,'App\\Models\\User'),(33,32,'App\\Models\\User'),(34,32,'App\\Models\\User'),(35,32,'App\\Models\\User'),(36,32,'App\\Models\\User'),(37,32,'App\\Models\\User'),(38,32,'App\\Models\\User'),(39,32,'App\\Models\\User'),(40,32,'App\\Models\\User'),(41,32,'App\\Models\\User'),(42,32,'App\\Models\\User'),(43,32,'App\\Models\\User'),(44,32,'App\\Models\\User'),(46,32,'App\\Models\\User'),(47,32,'App\\Models\\User'),(48,32,'App\\Models\\User'),(50,32,'App\\Models\\User'),(51,32,'App\\Models\\User'),(52,32,'App\\Models\\User'),(53,32,'App\\Models\\User'),(55,32,'App\\Models\\User'),(57,32,'App\\Models\\User'),(58,32,'App\\Models\\User'),(59,32,'App\\Models\\User'),(60,32,'App\\Models\\User'),(61,32,'App\\Models\\User'),(62,32,'App\\Models\\User');

--
-- Table structure for table `lara_permissions`
--

CREATE TABLE `lara_permissions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `menu` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lara_permissions_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lara_permissions`
--

INSERT INTO `lara_permissions` VALUES (1,'verifyapplications','Verify Preservice','Verify Preservice','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(2,'preserviceapps','Preservice applicants','Preservice applicants','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(3,'verifiedpreservice','Preservice Verified applicants ','Preservice Verified applicants ','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(4,'preservicerejected','Preservice Rejected','Preservice Rejected','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(5,'verificationtrails','verification Trails','verification Trails','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(6,'qualified','Qualified Applicants','Qualified Applicants','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(7,'dqualified','Qualified with disability','Qualified with disability','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(8,'belowrequirements','belowrequirements','belowrequirements','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(9,'searchapplications','Search Applications','Search Applications','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(10,'inserviceverification','Inservice Verification','Inservice Verification','2024-09-12 19:09:14','2024-09-12 19:09:14','Inservice-Applicants'),(11,'inserviceverified','Inservice Verified','Inservice Verified','2024-09-12 19:10:10','2024-09-12 19:10:10','Inservice-Applicants'),(12,'inverificationtrails','Inverification Trails','Inverification Trails','2024-09-12 19:10:10','2024-09-12 19:10:10','Inservice-Applicants'),(13,'inservicerejected','Inservice Rejected','Inservice Rejected','2024-09-12 19:10:10','2024-09-12 19:10:10','Inservice-Applicants'),(15,'reversever','Reverse Verified','Reverse Verified','2024-09-12 19:10:10','2024-09-12 19:10:10','Inservice-Applicants'),(16,'upgradingapps','Upgrading Applicants','Upgrading Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','Inservice-Applicants'),(17,'adminshortcourses','Short Course Applicants','Short Course Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','short-course-Applicants'),(18,'shortcoursependingsubmission','Pending Submission','Pending Submission','2024-09-12 19:09:14','2024-09-12 19:09:14','short-course-Applicants'),(19,'unhcrapps','UNHCR Applicants','UNHCR Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','UNHCR-Applicants'),(20,'uhcrcriteria','UNHCR Add Marks','UNHCR Add Marks','2024-09-12 19:09:14','2024-09-12 19:09:14','UNHCR-Applicants'),(21,'uhncrresults','UNHCR Results','UNHCR Results','2024-09-12 19:09:14','2024-09-12 19:09:14','UNHCR-Applicants'),(22,'unhcrverify','UNHCR Verify','UNHCR Verify','2024-09-12 19:09:14','2024-09-12 19:09:14','UNHCR-Applicants'),(23,'beyondzeroapps','World bank applicants','World bank applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(24,'beyondcriteria','Enter marks','Enter marks','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(25,'beyondresults','Results','Results','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(26,'editbeyond','Edit Results','Edit Results','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(27,'beyondzeroverify','Verify applicants','Verify Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(28,'beyondzeroverified','Verified Applicants','Verified Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','World-bank-Applicants'),(29,'chaiapplicants','Scholarship Applicants','Scholarship Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','Scholarship-Applicants'),(30,'chaiapplicantions','Scholarship Applicantions','Scholarship Applicantions','2024-09-12 19:09:14','2024-09-12 19:09:14','Scholarship-Applicants'),(31,'zipschorship','Authorization Form','Authorization Form','2024-09-12 19:09:14','2024-09-12 19:09:14','Scholarship-Applicants'),(32,'kuccpsapplicants','Upload Applicants','Upload Applicants','2024-09-12 19:09:14','2024-09-12 19:09:14','KUCCPS-Applicants'),(33,'applyinservice','Apply for applicant','Apply for applicant','2024-09-12 19:09:14','2024-09-12 19:09:14','Inservice-Applicants'),(34,'applicantapply','Apply for applicant','Apply for applicant','2024-08-29 13:44:37','2024-08-29 13:44:37','Preservice-Application'),(35,'archive/applications','Archive Application','Archive Application','2024-08-29 13:44:37','2024-08-29 13:44:37','Archive'),(36,'archive/payment','Archive Payment','Archive Payment','2024-08-29 13:44:37','2024-08-29 13:44:37','Archive'),(37,'deferstudent','Defer Student','Defer Student','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(38,'defermentdates','Set Deferment Dates','Set Deferment Dates','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(39,'graduatestudents','Make student as completed','Make student as completed','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(40,'graduatedstudents','Completed Students','Completed Students','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(41,'deferredstudent','Deferred Student','Deferred Student','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(42,'auto/deferment','Auto Defer','Auto Defer','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(43,'studentcampus','Change Campus','Change Campus','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(44,'newselectpreservice','Select Preservice','Select Preservice','2024-08-29 13:44:37','2024-08-29 13:44:37','Selection'),(46,'beyondselection','Select WorldBank','Select WorldBank','2024-08-29 13:44:37','2024-08-29 13:44:37','Selection'),(47,'unhcrselection','Select UNHCR','Select UNHCR','2024-08-29 13:44:37','2024-08-29 13:44:37','Selection'),(48,'newadmitstudents','Enroll Student','Enroll Student','2024-08-29 13:44:37','2024-08-29 13:44:37','Students'),(50,'campusassignment','Assign Campus Preservice','Assign Campus Preservice','2024-08-29 13:44:37','2024-08-29 13:44:37','Campus-Assignment-Preserve'),(51,'campusassignmentshortcourse','Assign Campus Short Course','Assign Campus Short Course','2024-08-29 13:44:37','2024-08-29 13:44:37','Campus-Assignment-Preserve'),(52,'postedpreservice','Posted Preservice','Posted Preservice','2024-08-29 13:44:37','2024-08-29 13:44:37','Campus-Assignment-Preserve'),(53,'inserviceselection','Inservice Selection','Inservice Selection','2024-08-29 13:44:37','2024-08-29 13:44:37','Campus-Assignment-Inservice'),(55,'higherassigncampus','Assign Inservice','Assign Inservice','2024-08-29 13:44:37','2024-08-29 13:44:37','Campus-Assignment-Inservice'),(57,'chai/select','Select Chai','Select Chai','2024-08-29 13:44:37','2024-08-29 13:44:37','Chai'),(58,'chai/post','Post Chai','Post Chai','2024-08-29 13:44:37','2024-08-29 13:44:37','Chai'),(59,'settings','Settings','Settings','2024-08-29 13:44:37','2024-08-29 13:44:37','Settings'),(60,'post/letter','Post Letters','Letter Posting','2024-08-29 13:44:37','2024-08-29 13:44:37','Letter-Posting'),(61,'usersadmission','Manage Users','Manage Users','2024-08-29 13:44:37','2024-08-29 13:44:37','Manage-Users'),(62,'reports','Reports','Reports','2024-08-29 13:44:37','2024-08-29 13:44:37','Reports');

--
-- Table structure for table `lara_role_user`
--

CREATE TABLE `lara_role_user` (
  `role_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `user_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`user_id`,`role_id`,`user_type`),
  KEY `lara_role_user_role_id_foreign` (`role_id`),
  CONSTRAINT `lara_role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `lara_roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lara_role_user`
--


--
-- Table structure for table `lara_roles`
--

CREATE TABLE `lara_roles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `display_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lara_roles_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lara_roles`
--


--
-- Table structure for table `letter_downloads`
--

CREATE TABLE `letter_downloads` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `letter_downloads`
--

INSERT INTO `letter_downloads` VALUES (1,4,'2023-09-08 19:43:03','2023-09-08 19:43:03'),(2,4,'2023-09-08 19:43:05','2023-09-08 19:43:05'),(3,4,'2023-09-08 19:59:30','2023-09-08 19:59:30'),(4,1,'2024-08-10 17:41:01','2024-08-10 17:41:01'),(5,1,'2024-08-10 17:42:05','2024-08-10 17:42:05'),(6,1,'2024-08-10 17:42:07','2024-08-10 17:42:07');

--
-- Table structure for table `list`
--

CREATE TABLE `list` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(70) NOT NULL,
  `gender` varchar(70) NOT NULL,
  `reg_num` varchar(70) NOT NULL,
  `id_number` varchar(70) NOT NULL,
  `county` varchar(70) NOT NULL,
  `campus` varchar(70) NOT NULL,
  `phone` varchar(70) NOT NULL,
  `user_id` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `list`
--


--
-- Table structure for table `list_send`
--

CREATE TABLE `list_send` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(70) NOT NULL,
  `gender` varchar(70) NOT NULL,
  `reg_num` varchar(70) NOT NULL,
  `id_number` varchar(70) NOT NULL,
  `county` varchar(70) NOT NULL,
  `campus` varchar(70) NOT NULL,
  `phone` varchar(70) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `list_send`
--


--
-- Table structure for table `lostupdates`
--

CREATE TABLE `lostupdates` (
  `mpesa` varchar(100) NOT NULL,
  `datetime` varchar(50) NOT NULL,
  `deatails` varchar(256) NOT NULL DEFAULT '0',
  `amount` int NOT NULL,
  `moredetails` varchar(200) NOT NULL,
  UNIQUE KEY `mpesa` (`mpesa`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `lostupdates`
--


--
-- Table structure for table `menus`
--

CREATE TABLE `menus` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `menus`
--


--
-- Table structure for table `menus_items`
--

CREATE TABLE `menus_items` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `menu_id` int unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `options` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `menus_items`
--


--
-- Table structure for table `message_replies`
--

CREATE TABLE `message_replies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `message_id` int unsigned NOT NULL,
  `description` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `read` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `message_replies`
--


--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `migration` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `batch` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES ('2014_10_12_000000_create_users_table',1),('2014_10_12_100000_create_password_resets_table',1),('2016_07_25_085732_create_student_categories_table',1),('2016_07_25_085813_create_fee_categories_table',1),('2016_07_25_105245_create_kmtc_classes_table',1),('2016_07_25_152107_create_fee_structures_table',1),('2016_07_26_110133_create_countries_table',1),('2016_07_26_110156_create_counties_table',1),('2016_07_26_110424_create_constituencies_table',1),('2016_07_26_110443_create_sub_counties_table',1),('2016_07_26_113504_create_user_students_table',2),('2016_07_26_113553_create_user_staffs_table',2),('2016_07_26_115424_create_kins_table',2),('2016_07_27_082328_create_roles_table',2),('2016_07_27_082411_create_permissions_table',2),('2016_07_27_082922_create_permission_role_table',2),('2016_07_27_082956_create_role_user_table',2),('2016_07_28_180629_create_course_types_table',2),('2016_07_28_180631_create_courses_table',2),('2016_07_28_180858_create_applications_table',2),('2016_08_05_082959_create_campuses_table',2),('2016_08_05_083345_create_selected_students_table',2),('2016_08_08_133935_add_role_to_users_table',2),('2016_08_09_080659_create_academic_calenders_table',2),('2016_08_09_081207_create_student_classes_table',2),('2016_08_09_082005_create_fees_structures_table',2),('2016_08_09_085315_create_students_table',2),('2016_08_09_090525_create_student_courses_table',2),('2016_08_09_091117_create_student_calenders_table',2),('2016_08_09_095230_create_billings_table',2),('2016_08_09_112833_create_application_trails_table',2),('2016_08_11_085548_add_student_category_to_fees_structure',2),('2016_08_18_094348_create_campus_courses_table',2),('2016_08_22_074504_create_student_intakes_table',2),('2016_08_22_075551_create_users_id_student_calender',2),('2016_08_22_110401_add_courses_id_to_students_table',2),('2016_08_22_122840_add_columns_to_students_table',2),('2016_08_22_141425_add_users_id_to_billings_table',2),('2016_08_26_141239_create_student_balances_table',3),('2016_08_27_133155_add_feestructure_id_to_billings',4),('2016_08_27_160419_add_mpesa_bank_reference_to_billing',4),('2016_08_29_091704_create_hostels_table',4),('2016_08_29_091737_create_room_categories_table',4),('2016_08_29_091757_create_rooms_table',4),('2016_08_29_092947_create_room_years_table',4),('2016_08_29_093050_create_room_student_categories_table',4),('2016_08_29_093137_create_room_allocations_table',4),('2016_08_29_093326_create_room_inventories_table',4),('2016_08_29_132218_add_campuses_id_to_hostels_table',4),('2016_08_29_134206_users_campus_table',4),('2016_09_01_152638_remove_foreign_from_billings_table',4),('2016_09_05_164318_add_tuition_accommodation_to_student_balances_table',5),('2016_09_05_165005_create_transactions_table',5),('2016_09_12_153912_add_county_subcounty_cost_to_suer_student',5),('2016_09_12_180928_add_allocated_to_students_table',6),('2016_09_13_090848_add_served_by_to_transaction_table',6),('2016_09_14_085503_add_narration_method_cheque_date',7),('2016_09_15_130153_create_shared_cheques_table',8),('2016_09_22_123440_add_remove_columns_table',9),('2016_09_22_124712_add_shared_cheque_id_to_transactions',9),('2016_10_10_105353_add_receipt_no_to_transaction_table',9),('2016_10_11_110955_create_departments_table',10),('2016_11_01_134221_add_transferred_by_to_students_table',10),('2016_11_10_152531_create_room_pricings_table',11),('2016_11_10_154138_drop_price_column_room_student_categories',11),('2016_11_14_091850_create_compulsory_subjects_table',11),('2016_11_14_105901_create_other_subjects_table',11),('2016_11_15_182743_create_uploads_table',11),('2016_11_22_094617_add_subcounty_id_to_constituencies_table',11),('2016_11_22_104842_add_active_to_county_table',11),('2016_11_22_105349_add_active_and_old_to_subcounty',11),('2016_11_22_105559_add_old_active_to_constituency',11),('2016_11_23_115426_create_beyond_zero_infos_table',12),('2016_11_24_164718_add_id_to_kins_table',12),('2016_12_01_110135_add_preffered_campus_id_to_applications_table',13),('2016_12_05_132404_create_mode_of_studies_tabl',13),('2016_12_05_134020_create_course_modes_table',13),('2016_12_05_140744_create_previous_courses_table',13),('2016_12_05_164640_create_higher_diplomas_table',13),('2016_12_08_092146_add_supsended_and_activated',14),('2017_01_26_064418_create_email_logins_table',15),('2017_01_30_144112_add_oldreg_to_students_table',16),('2017_02_07_102028_create_faculties_table',17),('2017_02_07_102438_add_fuculty_id_to_departments',17),('2017_02_07_115117_add_department_id_to_courses',17),('2017_02_07_122837_add_corrected_county_to_user_students_table',18),('2017_02_20_115005_add_billed_to_student_balances_table',19),('2017_03_02_220032_add_reg_num_rank_to_students_table',20),('2017_03_03_011454_add_serial_no_ranks_to_students_table',21),('2017_03_03_081413_add_letter_sign_3columns',22),('2017_03_03_124656_create_jobs_table',22),('2017_03_03_124745_create_failed_jobs_table',22),('2017_03_05_050833_add_assigned_by_to_higher_diplomas_table',23),('2017_03_08_091004_add_course_duration_to_courses',24),('2017_03_08_155359_create_sessions_table',25),('2017_03_13_081042_create_join_instructions_table',26),('2017_03_13_102150_create_actions_table',27),('2017_03_13_102255_create_student_actions_table',27),('2017_03_13_120106_add_removed_to_students',27),('2017_03_13_135327_add_options_to_student_actions',28),('2017_03_20_100913_create_beyond_criterias_table',29),('2017_03_20_111547_create_score_beyonds_table',30),('2017_03_21_080825_add_essay_details_to_criterias',31),('2017_03_21_134543_entrust_setup_tables',32),('2017_03_22_122647_add_application_table',33),('2017_03_24_154435_create_fee_structures_table',34),('2017_04_04_164810_add_received_at_to_transactions_table',35),('2017_04_10_191553_add_intake_to_applications_table',36),('2017_04_10_195104_add_intake_to_higher_diplomas_table',36),('2017_04_11_113821_create_transfer_trails_table',37),('2017_05_04_112753_create_revenue_categories_table',38),('2017_05_04_122832_create_revenues_table',38),('2017_05_08_100252_add_to_action_table',39),('2017_05_24_124631_add_narration_method_to_revenues_table',40),('2017_06_02_160503_create_room_applications_table',41),('2017_06_07_173207_remove_dates_room_applications_table',43),('2017_06_08_121915_add_status_to_hostels_table',44),('2017_06_08_124931_add_bio_phy_sciences',45),('2017_06_09_124234_add_campusidto_student_actions_table',46),('2017_06_13_163304_add_studentcalenderintake_to_join_instructions_table',47),('2017_06_13_194530_create_student_room_categories_table',48),('2017_06_13_204222_add_roo_category_id_to_room_applocations_table',48),('2017_06_14_160139_create_hostel_room_categories_table',49),('2017_06_15_090627_create_student_messages_table',50),('2017_06_15_111659_create_message_replies_table',51),('2017_06_15_114541_add_status_to_student_messages_table',51),('2017_06_15_201704_add_read_by_to_student_messages_table',52),('2017_06_15_214924_add_status_to_message_replies_table',52),('2017_06_19_145738_add_student_id_to_student_calenders_table',53),('2017_06_20_105058_create_course_campuses_table',54),('2017_06_20_124943_add_course_campus_cours',55),('2017_06_29_084518_modify_course_campus',56),('2017_06_05_092123_create_prov_allocations_table',57),('2017_07_11_163920_add_graduation_year_to_higher_diplomas_table',58),('2017_07_21_132153_create_possible_subjects_table',59),('2017_07_24_164301_add_final_dates_to_students_table',60),('2017_07_31_102935_add_semester_billing_promotion_to_stdcalenders_table',61),('2017_08_02_091052_create_subjects_table',62),('2017_08_02_091328_create_student_scores_table',62),('2017_09_01_112044_add_log_billing_to_students_table',63),('2017_09_02_160603_add_course_id_to_fees_structures_table',64),('2017_09_06_134003_create_course_subjects_table',65),('2017_09_06_135411_create_course_minimumrequirements_table',65),('2017_09_06_135833_create_subject_categories_table',65),('2017_09_12_162113_create_preservice_applications_table',66),('2017_09_14_144954_add_submitedat',67),('2017_09_19_101519_create_applicant_trails_table',68),('2017_10_02_130112_add_completed',69),('2017_10_12_162013_create_user_logins_table',70),('2017_10_12_170643_add_user_id_to_user_login_table',71),('2017_10_12_172117_add_user_id_to_logout_at_table',72),('2017_10_16_070543_create_score_verifications_table',73),('2017_10_16_071233_add_posted_by_to_applicant_trails_table',73),('2017_10_18_115752_add_status_to_beyond_zero_infos_table',74),('2017_10_18_132451_create_open_processes_table',75),('2017_10_18_144309_add_campus_id_to_preservice_applications_table',76),('2017_10_19_091413_add_status_to_uploads_table',77),('2017_10_23_101557_add_academic_calenders_to_open_process_table',78),('2017_10_23_101641_add_academic_calenders_to_preservice_applications_table',78),('2017_10_23_110412_add_academic_calenders_to_higher_diplomas_table',78),('2017_10_24_090955_create_user_balances_table',79),('2017_10_31_163350_add_cleaned_to_preservice_applications_table',80),('2017_11_07_163823_create_hey_balances_table',81),('2017_11_13_162804_add_application_type_to_courses_table',82),('2017_11_13_173101_add_second_campus',83),('2017_11_15_105037_add_cat4',84),('2017_11_22_095356_create_bill_accommadations_table',85),('2017_11_22_143220_add_intake_calender',86),('2018_01_08_173203_add_intake_to_course',87),('2018_02_13_161641_create_application_open_trails_table',88),('2018_02_16_092559_add_replacement',89),('2018_02_27_122240_add_types_to_migration',90),('2018_03_02_092352_add_salutation',91),('2018_03_03_161443_create_letter_downloads_table',92),('2018_03_19_092212_create_revises_table',93),('2018_03_22_181842_add_interface',94),('2018_04_05_172112_create_menus_table',95),('2018_04_05_172121_create_menu_items_table',95),('2018_04_09_063538_add_track_erp_updates',96),('2018_04_18_114522_add_date_of_birth',97),('2018_04_19_091652_create_test_apis_table',98),('2018_05_16_074621_add_signed_by',99),('2018_05_22_071524_add_transfer_type',100),('2018_05_24_151723_add_transaction_type_to_students',101),('2018_06_19_073058_create_downloads_table',102),('2018_06_29_083908_create_commitments_table',103),('2018_07_08_142113_create_steps_table',104),('2018_07_08_142133_create_user_steps_table',104),('2018_07_14_152437_add_url_to_steps_table',105),('2018_08_13_143631_add_date_selected_to_preservice_applications',106),('2018_08_13_145506_add_date_selected_to_preservice_applications',107),('2018_08_13_150045_add_date_deselected_to_preservice_applications',107),('2018_08_18_073007_add_date_completed',108),('2018_08_18_073558_add_complted_to_students',108),('2018_08_19_191110_create_widthraws_table',109),('2018_08_19_191216_add_withrawal_type',109),('2018_08_20_082147_create_send_sms_table',110),('2018_08_29_145342_create_application_documents_table',111),('2018_08_29_150551_create_app_docs_table',111),('2018_09_12_121925_add_foreign_to_joining_instructions',112),('2018_09_27_182431_create_applicant_logins_table',113),('2018_09_28_101012_add_letter_printed_to_students_table',114),('2018_09_29_161545_create_course_calendar_intakes_table',115),('2018_11_03_194416_laratrust_setup_tables',116),('2018_11_09_191528_add_passport_fields_to_user_students',116),('2018_11_10_141227_add_current_station_higher_diplomas',116),('2019_01_09_110006_add_archive_to_preservice',117),('2019_01_14_173254_add_country_of_exam',118),('2019_02_08_130508_add_columtocoursecampuses',119),('2019_05_27_083006_adddeffered',120),('2019_05_27_110736_addoldregtostudenttable',120),('2019_05_27_121529_add_oldreg_to_studentaction',120),('2019_05_28_121505_create_short_courses_table',120),('2019_06_03_154536_create_defarment_dates_table',121),('2019_07_19_133622_add_assigned_by_to_short_course_table',122),('2019_09_09_105610_create_applicant_deferments_table',123),('2019_09_19_075106_create_exports_table',124),('2019_11_07_130315_add_uploads',124),('2019_11_07_153802_add_previous_course',124),('2020_01_12_111244_modify_courses_and_mode_of_study',125),('2020_01_16_093008_modify_mode_of_studies_table',125),('2020_01_18_205525_modify_students_table',126),('2020_01_30_125751_create_track_uploads_table',127),('2020_02_12_052409_add_status_to_beyondcriteria',128),('2020_08_12_124035_add_online_enrolled',129),('2020_08_12_125554_add_online_enrolled_capacity',129),('2020_08_19_102419_add_letter_template_to_students_table',130),('2020_08_26_074539_add_enrolled_date',131),('2023_07_13_203325_add_chain',132),('2023_07_16_214245_create_chai_forms_table',133),('2023_07_17_100811_create_academic_histories_table',133),('2023_07_17_101018_create_additional_qualifications_table',133),('2023_07_17_101235_create_employment_histories_table',133),('2023_08_01_100354_add_second_emagency',134),('2023_08_01_161343_create_chai_uploads_table',135),('2023_08_02_084046_create_chai_scholarships_table',136),('2023_08_27_115015_addFromKuccpsToApplicationTable',137),('2023_08_27_205722_add_uploaded_authorized',138),('2023_08_31_162407_add_verificaation_students',139),('2023_09_01_140535_create_kuccp_lists_table',140),('2023_09_04_155416_create_zipped_scholarships_table',141),('2023_09_06_121316_add_from_verification_to_posting',142),('2023_09_08_171612_create_upload_e_r_ps_table',143),('2023_09_08_203931_source',144),('2023_09_25_214640_add_status_kuccp_lists',145),('2023_09_25_225624_add_kuccps_campus',146),('2024_02_23_090640_create_auto_defers_table',147),('2024_03_02_164456_add_camp',148),('2024_03_02_174454_add_class',149),('2024_03_12_101202_add_campus_status',150),('2024_07_17_165328_add_title',151),('2024_07_20_135938_add_new_campus',152),('0001_01_01_000001_create_cache_table',153),('2024_08_04_092524_add_two_factor_columns_to_users_table',153),('2024_08_04_092558_create_personal_access_tokens_table',153),('2024_08_04_105002_add_l11_fields',153),('2024_08_28_190702_laratrust_setup_tables',154),('2024_08_29_094159_add_menu_lara_permission',155);

--
-- Table structure for table `mode_of_studies`
--

CREATE TABLE `mode_of_studies` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `study_mode` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `mode_of_studies`
--

INSERT INTO `mode_of_studies` VALUES (1,'Full time',NULL,NULL);

--
-- Table structure for table `mpesa_payments`
--

CREATE TABLE `mpesa_payments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `TransactionType` varchar(60) DEFAULT NULL,
  `TransID` varchar(60) NOT NULL,
  `TransTime` varchar(60) DEFAULT NULL,
  `TransAmount` varchar(60) DEFAULT NULL,
  `BusinessShortCode` varchar(60) DEFAULT NULL,
  `BillRefNumber` varchar(60) DEFAULT NULL,
  `InvoiceNumber` varchar(60) DEFAULT NULL,
  `ThirdPartyTransID` varchar(60) DEFAULT NULL,
  `OrgAccountBalance` varchar(40) DEFAULT NULL,
  `MSISDN` varchar(20) DEFAULT NULL,
  `FirstName` varchar(20) DEFAULT NULL,
  `MiddleName` varchar(20) DEFAULT NULL,
  `LastName` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `mpesa_payments`
--


--
-- Table structure for table `open_processes`
--

CREATE TABLE `open_processes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_intake_id` int unsigned NOT NULL,
  `status` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `academic_calender_id` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `open_processes`
--


--
-- Table structure for table `other_subjects`
--

CREATE TABLE `other_subjects` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `courses_id` int unsigned NOT NULL,
  `subject` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `other_subjects_courses_id_foreign` (`courses_id`),
  CONSTRAINT `other_subjects_courses_id_foreign` FOREIGN KEY (`courses_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `other_subjects`
--


--
-- Table structure for table `payment`
--

CREATE TABLE `payment` (
  `Id` int NOT NULL AUTO_INCREMENT,
  `Mpesa` varchar(300) DEFAULT NULL,
  `Sender` varchar(300) DEFAULT NULL,
  `Amount` varchar(30) DEFAULT NULL,
  `MId` varchar(200) DEFAULT NULL,
  `Orig` varchar(200) DEFAULT NULL,
  `CustomerId` varchar(200) DEFAULT NULL,
  `Mpesa_Account` varchar(200) DEFAULT NULL,
  `Mpesa_Msisdn` varchar(200) DEFAULT NULL,
  `Status` int NOT NULL DEFAULT '0',
  `Time_Date` varchar(200) DEFAULT NULL,
  `export` int NOT NULL DEFAULT '0',
  `Date_received` varchar(30) DEFAULT NULL,
  `intake` int NOT NULL DEFAULT '2',
  `calender` int NOT NULL DEFAULT '3',
  `dec2017` int NOT NULL DEFAULT '0',
  `archived` int NOT NULL DEFAULT '0',
  `archived_at` timestamp NULL DEFAULT NULL,
  `archived_by` int DEFAULT NULL,
  PRIMARY KEY (`Id`),
  UNIQUE KEY `Mpesa` (`Mpesa`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `payment`
--

INSERT INTO `payment` VALUES (1,'ccc','Test user','10',NULL,NULL,'12345678\n','3962791',NULL,1,NULL,0,NULL,2,3,0,0,NULL,NULL),(2,'cccjj','Test user','1',NULL,NULL,'12345678\r\n','12345678',NULL,1,NULL,0,NULL,2,3,0,0,NULL,NULL),(4,'RXXLKW',NULL,'1.00',NULL,'settled',NULL,'reo456678','RXXLKW',0,'2023-09-01 09:25:23Z',0,NULL,2,3,0,0,NULL,NULL),(3,'cccjjm','Test user','1',NULL,NULL,'123456789\r\n','123456789',NULL,1,NULL,0,NULL,2,3,0,0,NULL,NULL),(5,'Test Code','Jane Doe','2000',NULL,NULL,'123456789\r\n','5621134',NULL,1,NULL,0,NULL,2,3,0,0,NULL,NULL);

--
-- Table structure for table `permission_role`
--

CREATE TABLE `permission_role` (
  `permission_id` int unsigned NOT NULL,
  `role_id` int unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `permission_role_role_id_foreign` (`role_id`),
  CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `permission_role`
--


--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `display_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `permissions`
--


--
-- Table structure for table `possible_subjects`
--

CREATE TABLE `possible_subjects` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `category` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `subject` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `possible_subjects`
--


--
-- Table structure for table `preservice_applications`
--

CREATE TABLE `preservice_applications` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `course_id` int unsigned NOT NULL,
  `nq` int NOT NULL DEFAULT '0',
  `lang_id` int unsigned NOT NULL,
  `lang_grade` int NOT NULL,
  `mg_id` int unsigned NOT NULL,
  `mg_grade` int NOT NULL,
  `comp_id` int unsigned NOT NULL,
  `comp_grade` int NOT NULL,
  `cat2_id` int unsigned NOT NULL,
  `cat2_grade` int NOT NULL,
  `cat3_id` int unsigned NOT NULL,
  `cat3_grade` int NOT NULL,
  `cluster` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `intake` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `choice` int NOT NULL,
  `user_confirm` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `verification` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `reason` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `verified_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `date_verified` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0000-00-00 00:00:00',
  `selected` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `selected_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `deselected_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `assigned` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `assigned_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `assigned_date` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0000-00-00 00:00:00',
  `disassigned_by` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `disassigned_date` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0000-00-00 00:00:00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `submitted_at` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0000-00-00 00:00:00',
  `campus_id` int unsigned NOT NULL DEFAULT '0',
  `academic_calender_id` int NOT NULL DEFAULT '2',
  `cleaned` int NOT NULL DEFAULT '0',
  `campus2_id` int unsigned NOT NULL DEFAULT '0',
  `cat4_id` int unsigned NOT NULL DEFAULT '55',
  `cat4_grade` int NOT NULL DEFAULT '0',
  `replacement` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'No',
  `date_selected` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `withdrawal_type` int NOT NULL DEFAULT '0',
  `archived` int NOT NULL DEFAULT '0',
  `archived_by` int NOT NULL DEFAULT '0',
  `archived_at` timestamp NULL DEFAULT NULL,
  `previous_course` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `from_kuccps` tinyint NOT NULL DEFAULT '0',
  `kuccps_campus` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=514276 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `preservice_applications`
--

INSERT INTO `preservice_applications` VALUES (514265,1,103,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','2','Documents not clear','0','0000-00-00 00:00:00','1','1','0','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:03:37','2024-03-09 10:03:37','0000-00-00 00:00:00',0,10,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514266,95,103,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:04:32','2024-03-09 10:04:32','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514267,96,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:08:10','2024-03-09 10:08:10','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514268,97,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:08:28','2024-03-09 10:08:28','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514269,98,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','0','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:09:10','2024-03-09 10:09:10','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514270,99,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','2','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:10:27','2024-03-12 10:23:55','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514271,100,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','2','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-09 10:11:16','2024-03-09 10:11:16','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514272,101,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','2','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-12 07:20:15','2024-03-12 07:20:15','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514273,102,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','2','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-12 10:23:55','2024-03-12 10:23:55','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514274,103,3,0,1,1,1,1,1,1,1,1,1,1,'1','1',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','2','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-03-12 10:24:11','2024-03-12 10:24:11','0000-00-00 00:00:00',0,7,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'  NAIROBI CAMPUS'),(514275,107,3,0,1,1,1,1,1,1,1,1,1,1,'1','2',1,'1','1','0','0','0000-00-00 00:00:00','1','1','0','1','0','0000-00-00 00:00:00','0','0000-00-00 00:00:00','2024-04-13 11:08:53','2024-04-13 11:09:35','0000-00-00 00:00:00',0,8,0,0,55,0,'No',NULL,0,0,0,NULL,NULL,1,'NAIROBI');

--
-- Table structure for table `previous_courses`
--

CREATE TABLE `previous_courses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `prev_course` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `previous_courses_course_id_foreign` (`course_id`),
  CONSTRAINT `previous_courses_course_id_foreign` FOREIGN KEY (`course_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `previous_courses`
--

INSERT INTO `previous_courses` VALUES (1,156,'ABC','2023-07-13 18:52:04','2023-07-13 18:52:04');

--
-- Table structure for table `prov_allocations`
--

CREATE TABLE `prov_allocations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int unsigned NOT NULL,
  `hostel_id` int unsigned NOT NULL,
  `studentcategory_id` int unsigned NOT NULL,
  `roomcategory_id` int unsigned NOT NULL,
  `price` int unsigned NOT NULL,
  `allocatedby` int unsigned NOT NULL DEFAULT '0',
  `booked` int unsigned NOT NULL DEFAULT '0',
  `receivedby` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `prov_allocations`
--


--
-- Table structure for table `revenue_categories`
--

CREATE TABLE `revenue_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `added_by` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `revenue_categories`
--


--
-- Table structure for table `revenues`
--

CREATE TABLE `revenues` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `revenuecategory_id` int unsigned NOT NULL,
  `amount` int NOT NULL,
  `added_by` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `narration` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `payment_method` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `revenues`
--


--
-- Table structure for table `revises`
--

CREATE TABLE `revises` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `details` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `revises`
--


--
-- Table structure for table `role_user`
--

CREATE TABLE `role_user` (
  `user_id` int unsigned NOT NULL,
  `role_id` int unsigned NOT NULL,
  PRIMARY KEY (`user_id`,`role_id`),
  KEY `role_user_role_id_foreign` (`role_id`),
  CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `role_user`
--


--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `display_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `roles`
--


--
-- Table structure for table `room_allocations`
--

CREATE TABLE `room_allocations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `users_id` int unsigned NOT NULL,
  `rooms_id` int unsigned NOT NULL,
  `from` date NOT NULL,
  `to` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `room_allocations_rooms_id_foreign` (`rooms_id`),
  KEY `room_allocations_users_id_foreign` (`users_id`),
  CONSTRAINT `room_allocations_rooms_id_foreign` FOREIGN KEY (`rooms_id`) REFERENCES `rooms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `room_allocations_users_id_foreign` FOREIGN KEY (`users_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_allocations`
--


--
-- Table structure for table `room_applications`
--

CREATE TABLE `room_applications` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `hostel_id` int unsigned NOT NULL,
  `selected` int NOT NULL DEFAULT '0',
  `selected_by` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `semester` int NOT NULL,
  `room_category_id` int unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_applications`
--


--
-- Table structure for table `room_categories`
--

CREATE TABLE `room_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `room_categories_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_categories`
--


--
-- Table structure for table `room_inventories`
--

CREATE TABLE `room_inventories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `rooms_id` int unsigned NOT NULL,
  `descriptions` varchar(400) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `room_inventories_rooms_id_foreign` (`rooms_id`),
  CONSTRAINT `room_inventories_rooms_id_foreign` FOREIGN KEY (`rooms_id`) REFERENCES `rooms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_inventories`
--


--
-- Table structure for table `room_pricings`
--

CREATE TABLE `room_pricings` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `room_categories_id` int unsigned NOT NULL,
  `student_categories_id` int unsigned NOT NULL,
  `price` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `room_pricings_student_categories_id_foreign` (`student_categories_id`),
  KEY `room_pricings_room_categories_id_foreign` (`room_categories_id`),
  CONSTRAINT `room_pricings_room_categories_id_foreign` FOREIGN KEY (`room_categories_id`) REFERENCES `room_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `room_pricings_student_categories_id_foreign` FOREIGN KEY (`student_categories_id`) REFERENCES `student_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_pricings`
--


--
-- Table structure for table `room_student_categories`
--

CREATE TABLE `room_student_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `rooms_id` int unsigned NOT NULL,
  `student_categories_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `room_student_categories_rooms_id_foreign` (`rooms_id`),
  KEY `room_student_categories_student_categories_id_foreign` (`student_categories_id`),
  CONSTRAINT `room_student_categories_rooms_id_foreign` FOREIGN KEY (`rooms_id`) REFERENCES `rooms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `room_student_categories_student_categories_id_foreign` FOREIGN KEY (`student_categories_id`) REFERENCES `student_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_student_categories`
--


--
-- Table structure for table `room_years`
--

CREATE TABLE `room_years` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `rooms_id` int unsigned NOT NULL,
  `student_classes_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `room_years_rooms_id_foreign` (`rooms_id`),
  KEY `room_years_student_classes_id_foreign` (`student_classes_id`),
  CONSTRAINT `room_years_rooms_id_foreign` FOREIGN KEY (`rooms_id`) REFERENCES `rooms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `room_years_student_classes_id_foreign` FOREIGN KEY (`student_classes_id`) REFERENCES `student_classes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `room_years`
--


--
-- Table structure for table `rooms`
--

CREATE TABLE `rooms` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `hostels_id` int unsigned NOT NULL,
  `room_categories_id` int unsigned NOT NULL,
  `room_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `capacity` int NOT NULL,
  `slots_left` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rooms_hostels_id_foreign` (`hostels_id`),
  KEY `rooms_room_categories_id_foreign` (`room_categories_id`),
  CONSTRAINT `rooms_hostels_id_foreign` FOREIGN KEY (`hostels_id`) REFERENCES `hostels` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `rooms_room_categories_id_foreign` FOREIGN KEY (`room_categories_id`) REFERENCES `room_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `rooms`
--


--
-- Table structure for table `score_beyonds`
--

CREATE TABLE `score_beyonds` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `chief_rec` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `Religious_rec` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `parents_avail` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `well_wishers` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `community_service` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `year_completion` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `marginalized` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `essay` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `total` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `added_by` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `well_written` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `neediness` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `contribution` varchar(11) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `intake_id` int unsigned NOT NULL DEFAULT '2',
  `calender_id` int unsigned NOT NULL DEFAULT '2',
  PRIMARY KEY (`id`),
  KEY `score_beyonds_added_by_foreign` (`added_by`),
  CONSTRAINT `score_beyonds_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `score_beyonds`
--

INSERT INTO `score_beyonds` VALUES (1,1,'10','1','1','1','1','1','1','1','20',32,'2024-03-02 16:15:52','2024-03-04 20:13:27','1','1','1',2,7),(2,1,'0.5','0.1','0.1','0.1','0.1','0.1','0.1','0.1','1.5',32,'2024-03-04 19:41:33','2024-03-04 19:41:33','0.1','0.1','0.1',2,7),(3,1,'0.1','N/A','0.1','0.1','0','0.1','0.1','0.1','0.9',32,'2024-03-21 07:42:29','2024-03-21 07:42:29','0.1','0.1','0.1',2,8);

--
-- Table structure for table `score_verifications`
--

CREATE TABLE `score_verifications` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `action` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `verification` int NOT NULL DEFAULT '0',
  `verified_by` int unsigned NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `score_verifications`
--


--
-- Table structure for table `selected_all`
--

CREATE TABLE `selected_all` (
  `Id` int NOT NULL AUTO_INCREMENT,
  `Reg_Num` varchar(100) NOT NULL,
  `Email` varchar(100) NOT NULL,
  `Campus` varchar(100) NOT NULL,
  `Course` varchar(100) NOT NULL,
  `Serial_No` varchar(20) NOT NULL DEFAULT '0',
  `Assigned_By` varchar(50) DEFAULT NULL,
  `Status` int NOT NULL DEFAULT '0',
  `Date_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `signed` int NOT NULL DEFAULT '0',
  `commited` int NOT NULL DEFAULT '0',
  `Transferred_By` varchar(255) NOT NULL DEFAULT '0',
  `App` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `Email_3` (`Email`),
  UNIQUE KEY `Reg_Num` (`Reg_Num`),
  KEY `Campus_Code` (`Campus`),
  KEY `Course_Code` (`Course`),
  KEY `Email` (`Email`),
  KEY `Email_2` (`Email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `selected_all`
--


--
-- Table structure for table `selected_students`
--

CREATE TABLE `selected_students` (
  `Id` int NOT NULL AUTO_INCREMENT,
  `Reg_Num` varchar(100) NOT NULL,
  `Email` varchar(100) NOT NULL,
  `Campus` varchar(100) NOT NULL,
  `Course` varchar(100) NOT NULL,
  `Serial_No` varchar(20) NOT NULL DEFAULT '0',
  `Assigned_By` varchar(50) DEFAULT NULL,
  `Status` int NOT NULL DEFAULT '0',
  `Date_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `signed` int NOT NULL DEFAULT '0',
  `commited` int NOT NULL DEFAULT '0',
  `Transferred_By` varchar(255) NOT NULL DEFAULT '0',
  `App` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `Email_3` (`Email`),
  UNIQUE KEY `Reg_Num` (`Reg_Num`),
  KEY `Campus_Code` (`Campus`),
  KEY `Course_Code` (`Course`),
  KEY `Email` (`Email`),
  KEY `Email_2` (`Email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `selected_students`
--


--
-- Table structure for table `selected_students_old`
--

CREATE TABLE `selected_students_old` (
  `Id` int NOT NULL AUTO_INCREMENT,
  `Reg_Num` varchar(100) NOT NULL,
  `Email` varchar(100) NOT NULL,
  `Campus` varchar(100) NOT NULL,
  `Course` varchar(100) NOT NULL,
  `Serial_No` varchar(20) NOT NULL DEFAULT '0',
  `Assigned_By` varchar(50) DEFAULT NULL,
  `Status` int NOT NULL DEFAULT '0',
  `Date_Time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `signed` int NOT NULL DEFAULT '0',
  `commited` int NOT NULL DEFAULT '0',
  `Transferred_By` varchar(255) NOT NULL DEFAULT '0',
  `App` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`Id`),
  UNIQUE KEY `Email_3` (`Email`),
  UNIQUE KEY `Reg_Num` (`Reg_Num`),
  KEY `Campus_Code` (`Campus`),
  KEY `Course_Code` (`Course`),
  KEY `Email` (`Email`),
  KEY `Email_2` (`Email`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `selected_students_old`
--


--
-- Table structure for table `send_sms`
--

CREATE TABLE `send_sms` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `message` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `recipient` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `send_sms`
--


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `user_id` int DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `payload` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  UNIQUE KEY `sessions_id_unique` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` VALUES ('hlDcnyF8Fk7yHwyn7bVPfMT25yT74YMpIDaThODI',32,'127.0.0.1','Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoieUJONUxBU2VWNVJDRGNqeWFQc2xaaEI1NDFuQWxVUnpFNXZJRXl0USI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzY6Imh0dHA6Ly9sb2NhbGhvc3Q6ODAwMC9kYXNoYWRtaXNzaW9ucyI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjMyO3M6MjE6InBhc3N3b3JkX2hhc2hfc2FuY3R1bSI7czo2MDoiJDJ5JDEyJDZkTzlxRy5GUEd2N3FlL2dHdGpXenUyVjNmamxVcDAxNlVSallBdHJuTktBSHFVakdVbkFHIjt9',1726752837);

--
-- Table structure for table `shared_cheques`
--

CREATE TABLE `shared_cheques` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `amount` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `reference` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `shared_cheques_reference_unique` (`reference`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `shared_cheques`
--


--
-- Table structure for table `short_courses`
--

CREATE TABLE `short_courses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `course_id` int unsigned NOT NULL,
  `user_id` int unsigned NOT NULL,
  `campus_id` int unsigned NOT NULL,
  `enrollment_month` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `highest_qualification` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `about_us` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `user_confirm` int NOT NULL DEFAULT '0',
  `date_submitted` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `archive` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `assigned` int NOT NULL DEFAULT '0',
  `assigned_by` int NOT NULL DEFAULT '0',
  `assigned_at` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13678 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `short_courses`
--

INSERT INTO `short_courses` VALUES (13677,92,1,2,'March','Certificate','Google search',1,'0','0','2023-02-07 22:17:41','2023-05-25 12:47:14',0,0,'0');

--
-- Table structure for table `steps`
--

CREATE TABLE `steps` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `description` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `path` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `steps`
--


--
-- Table structure for table `student_actions`
--

CREATE TABLE `student_actions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int unsigned NOT NULL,
  `action_id` int unsigned NOT NULL,
  `ended_at` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `added_by` int unsigned NOT NULL,
  `removed_by` int unsigned NOT NULL,
  `description` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `file` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `academic_calender_id` int NOT NULL,
  `student_intake_id` int NOT NULL,
  `student_class_id` int NOT NULL,
  `cur_academic` int NOT NULL,
  `cur_intake` int NOT NULL,
  `campus_id` int unsigned NOT NULL DEFAULT '0',
  `reg_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `old_reg` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_actions`
--


--
-- Table structure for table `student_balances`
--

CREATE TABLE `student_balances` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `students_id` int unsigned NOT NULL,
  `balance` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `fee_balance` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `accommodation_balance` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `billed` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `student_balances_students_id_foreign` (`students_id`),
  CONSTRAINT `student_balances_students_id_foreign` FOREIGN KEY (`students_id`) REFERENCES `students` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_balances`
--


--
-- Table structure for table `student_calenders`
--

CREATE TABLE `student_calenders` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `users_id` int unsigned NOT NULL,
  `student_id` int unsigned NOT NULL DEFAULT '0',
  `student_classes_id` int unsigned NOT NULL,
  `academic_calenders_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `student_intakes_id` int unsigned NOT NULL,
  `semester` int NOT NULL DEFAULT '1',
  `billed` int NOT NULL DEFAULT '0',
  `promoted` int NOT NULL DEFAULT '0',
  `defered` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `student_calenders_student_classes_id_foreign` (`student_classes_id`),
  KEY `student_calenders_academic_calenders_id_foreign` (`academic_calenders_id`),
  KEY `student_calenders_users_id_foreign` (`users_id`),
  KEY `student_calenders_student_intakes_id_foreign` (`student_intakes_id`),
  CONSTRAINT `student_calenders_academic_calenders_id_foreign` FOREIGN KEY (`academic_calenders_id`) REFERENCES `academic_calenders` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `student_calenders_student_classes_id_foreign` FOREIGN KEY (`student_classes_id`) REFERENCES `student_classes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `student_calenders_student_intakes_id_foreign` FOREIGN KEY (`student_intakes_id`) REFERENCES `student_intakes` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `student_calenders_users_id_foreign` FOREIGN KEY (`users_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_calenders`
--

INSERT INTO `student_calenders` VALUES (9,9,19,1,8,'2023-09-08 20:08:18','2023-09-08 20:08:18',2,1,0,0,0),(10,10,21,1,8,'2023-09-08 20:09:20','2023-09-08 20:09:20',2,1,0,0,0),(11,10,65,1,8,'2023-09-08 20:11:41','2023-09-08 20:11:41',2,1,0,0,0),(12,9,66,1,8,'2023-09-08 20:12:58','2023-09-08 20:12:58',2,1,0,0,0),(13,10,67,1,8,'2023-09-08 20:12:59','2024-03-02 15:01:23',1,1,0,0,0),(15,1,69,1,3,'2023-09-19 12:07:15','2023-09-19 12:07:15',1,1,0,0,0),(16,1,70,1,1,'2023-09-19 12:10:43','2023-09-19 12:10:43',1,1,0,0,0),(19,100,74,1,8,'2024-03-09 10:11:16','2024-03-09 10:11:16',1,1,0,0,0),(20,101,75,1,8,'2024-03-12 07:20:15','2024-03-12 07:20:15',1,1,0,0,0),(21,99,76,1,8,'2024-03-12 10:23:55','2024-03-12 10:23:55',1,1,0,0,0),(22,102,77,1,8,'2024-03-12 10:23:55','2024-03-12 10:23:55',1,1,0,0,0),(23,103,78,1,8,'2024-03-12 10:24:11','2024-03-12 10:24:11',1,1,0,0,0),(24,99,79,1,8,'2024-03-13 16:39:14','2024-03-13 16:39:14',2,1,0,0,0),(25,99,80,1,8,'2024-03-13 16:40:24','2024-03-13 16:40:24',2,1,0,0,0),(26,99,81,1,8,'2024-04-11 19:21:44','2024-04-11 19:21:44',2,1,0,0,0),(27,99,82,1,8,'2024-04-13 10:26:50','2024-04-13 10:26:50',2,1,0,0,0),(28,99,83,1,8,'2024-04-13 11:03:51','2024-04-13 11:03:51',2,1,0,0,0),(29,107,84,1,8,'2024-04-13 11:09:35','2024-04-13 11:09:35',2,1,0,0,0),(30,107,85,1,8,'2024-04-13 11:19:51','2024-04-13 11:19:51',2,1,0,0,0),(31,107,86,1,8,'2024-04-13 11:20:00','2024-04-13 11:20:00',2,1,0,0,0),(32,107,87,1,8,'2024-04-13 11:20:50','2024-04-13 11:20:50',2,1,0,0,0),(33,107,88,1,8,'2024-04-13 11:21:22','2024-04-13 11:21:22',2,1,0,0,0),(34,107,89,1,8,'2024-04-19 10:51:13','2024-04-19 10:51:13',2,1,0,0,0);

--
-- Table structure for table `student_categories`
--

CREATE TABLE `student_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `category_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_categories`
--

INSERT INTO `student_categories` VALUES (1,'Regular-preservice','2016-08-24 21:00:00','2016-08-17 21:00:00'),(4,'Self Sponsored-preservice','2016-09-04 21:00:00','2016-09-04 21:00:00'),(5,'Inservice','2016-09-04 21:00:00','2016-09-04 21:00:00'),(6,'Full Scholarship','2017-04-11 12:31:24','2017-04-11 12:31:24'),(7,'Foreign Students-Preservice','2018-08-09 16:18:33','2018-08-09 16:18:33'),(8,'Foreign Students-Inservice','2018-08-09 16:18:33','2018-08-09 16:18:33'),(9,'Short Course ','2019-07-22 17:56:53','2019-07-22 17:56:53'),(10,'MoH/AMREF Scholarship','2020-10-19 12:24:58','2020-10-19 12:24:58'),(11,'National Youth Service Sponsorship-Preservice','2021-03-12 12:35:25','2021-03-18 12:49:18'),(12,'Teso North NG CDF Sponsorship-Preservice','2021-03-20 19:41:20','2021-03-20 19:46:22'),(13,'Uasin Gishu County Government Sponsorship-Preservice','2021-03-20 19:50:06','2021-03-20 19:50:06');

--
-- Table structure for table `student_classes`
--

CREATE TABLE `student_classes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `student_classes_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_classes`
--

INSERT INTO `student_classes` VALUES (1,'nnn',NULL,NULL);

--
-- Table structure for table `student_courses`
--

CREATE TABLE `student_courses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `students_id` int unsigned NOT NULL,
  `courses_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `student_courses_courses_id_foreign` (`courses_id`),
  KEY `student_courses_students_id_foreign` (`students_id`),
  CONSTRAINT `student_courses_courses_id_foreign` FOREIGN KEY (`courses_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `student_courses_students_id_foreign` FOREIGN KEY (`students_id`) REFERENCES `students` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_courses`
--


--
-- Table structure for table `student_intakes`
--

CREATE TABLE `student_intakes` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_intakes`
--

INSERT INTO `student_intakes` VALUES (1,'September Intake','2016-08-24 21:00:00','2016-08-24 21:00:00'),(2,'March Intake','2017-03-02 21:00:00','2017-03-02 21:00:00');

--
-- Table structure for table `student_messages`
--

CREATE TABLE `student_messages` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `description` longtext CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` int NOT NULL DEFAULT '0',
  `read_by` int unsigned NOT NULL DEFAULT '0',
  `message_id` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_messages`
--


--
-- Table structure for table `student_room_categories`
--

CREATE TABLE `student_room_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `room_category_id` int unsigned NOT NULL,
  `student_category_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_room_categories`
--


--
-- Table structure for table `student_scores`
--

CREATE TABLE `student_scores` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `subject_id` int unsigned NOT NULL,
  `score` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=126 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `student_scores`
--

INSERT INTO `student_scores` VALUES (1,1,1,9,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(2,1,2,10,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(3,1,3,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(4,1,4,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(5,1,5,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(6,1,6,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(7,1,7,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(8,1,8,10,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(9,1,9,0,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(10,1,10,10,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(11,1,11,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(12,1,12,0,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(13,1,13,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(14,1,14,10,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(15,1,15,0,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(16,1,16,0,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(17,1,17,9,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(18,1,56,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(19,1,57,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(20,1,58,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(21,1,59,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(22,1,60,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(23,1,61,11,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(24,1,62,12,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(25,1,55,0,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(26,32878,1,12,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(27,32878,2,12,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(28,32878,3,12,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(29,32878,4,11,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(30,32878,5,11,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(31,32878,6,11,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(32,32878,7,7,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(33,32878,8,9,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(34,32878,9,0,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(35,32878,10,10,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(36,32878,11,10,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(37,32878,12,0,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(38,32878,13,6,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(39,32878,14,6,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(40,32878,15,0,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(41,32878,16,0,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(42,32878,17,7,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(43,32878,56,11,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(44,32878,57,10,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(45,32878,58,10,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(46,32878,59,11,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(47,32878,60,10,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(48,32878,61,4,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(49,32878,62,6,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(50,32878,55,0,'2024-08-10 14:41:10','2024-08-10 14:41:10'),(51,32878,1,12,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(52,32878,2,12,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(53,32878,3,12,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(54,32878,4,11,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(55,32878,5,11,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(56,32878,6,11,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(57,32878,7,7,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(58,32878,8,9,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(59,32878,9,0,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(60,32878,10,10,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(61,32878,11,10,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(62,32878,12,0,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(63,32878,13,6,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(64,32878,14,6,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(65,32878,15,0,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(66,32878,16,0,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(67,32878,17,7,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(68,32878,56,11,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(69,32878,57,10,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(70,32878,58,10,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(71,32878,59,11,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(72,32878,60,10,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(73,32878,61,4,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(74,32878,62,6,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(75,32878,55,0,'2024-08-10 14:43:34','2024-08-10 14:43:34'),(76,32878,1,12,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(77,32878,2,12,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(78,32878,3,12,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(79,32878,4,11,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(80,32878,5,11,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(81,32878,6,11,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(82,32878,7,7,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(83,32878,8,9,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(84,32878,9,0,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(85,32878,10,10,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(86,32878,11,10,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(87,32878,12,0,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(88,32878,13,6,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(89,32878,14,6,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(90,32878,15,0,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(91,32878,16,0,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(92,32878,17,7,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(93,32878,56,11,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(94,32878,57,10,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(95,32878,58,10,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(96,32878,59,11,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(97,32878,60,10,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(98,32878,61,4,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(99,32878,62,6,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(100,32878,55,0,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(101,32878,1,12,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(102,32878,2,12,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(103,32878,3,12,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(104,32878,4,11,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(105,32878,5,11,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(106,32878,6,11,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(107,32878,7,7,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(108,32878,8,9,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(109,32878,9,0,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(110,32878,10,10,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(111,32878,11,10,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(112,32878,12,0,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(113,32878,13,6,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(114,32878,14,6,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(115,32878,15,0,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(116,32878,16,0,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(117,32878,17,7,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(118,32878,56,11,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(119,32878,57,10,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(120,32878,58,10,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(121,32878,59,11,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(122,32878,60,10,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(123,32878,61,4,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(124,32878,62,6,'2024-08-10 14:47:10','2024-08-10 14:47:10'),(125,32878,55,0,'2024-08-10 14:47:10','2024-08-10 14:47:10');

--
-- Table structure for table `students`
--

CREATE TABLE `students` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `users_id` int unsigned NOT NULL,
  `reg_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `reg_num_rank` int NOT NULL DEFAULT '0',
  `campuses_id` int unsigned NOT NULL,
  `courses_id` int unsigned NOT NULL,
  `signing_date` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `serial_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `student_categories_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `committed` int NOT NULL DEFAULT '0',
  `admitted` int NOT NULL DEFAULT '0',
  `activity` int NOT NULL DEFAULT '1',
  `admitted_by` int unsigned NOT NULL DEFAULT '0',
  `allocated` int NOT NULL DEFAULT '0',
  `transferred_by` int unsigned NOT NULL DEFAULT '0',
  `serial_no_rank` int NOT NULL DEFAULT '0',
  `signed` int NOT NULL DEFAULT '0',
  `sign_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `letter_ready` int NOT NULL DEFAULT '0',
  `removed` int NOT NULL DEFAULT '0',
  `removed_by` int NOT NULL DEFAULT '0',
  `joining_date` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `commitment_required` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'N',
  `commitment_deadline` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `log_bill` int NOT NULL DEFAULT '0',
  `completed` int NOT NULL DEFAULT '0',
  `completed_on` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `completed_created_at` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `signed_at` datetime DEFAULT NULL,
  `completed_created_by` int unsigned NOT NULL DEFAULT '0',
  `old_reg` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `director_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Dr. Lucy Waweru',
  `director_designation` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'REGISTRAR',
  `test` int NOT NULL DEFAULT '0',
  `interface` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `trackerp` int NOT NULL DEFAULT '0',
  `signed_by` int unsigned NOT NULL DEFAULT '0',
  `transaction_type` enum('DEFAULT','COURSE-TRANSFER','CAMPUS-TRANSFER','COURSE-CAMPUS-TRANSFER') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'DEFAULT',
  `cm` int NOT NULL DEFAULT '0',
  `date_completed` datetime DEFAULT NULL,
  `letter_printed` enum('Yes','No') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'No',
  `depends_on_study_mode` int NOT NULL DEFAULT '0',
  `mode_of_study_id` int unsigned DEFAULT NULL,
  `online_enrolled` int NOT NULL DEFAULT '0',
  `letter_template` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `enrolled_on` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `verified` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `verified_By` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `students_serial_no_unique` (`serial_no`),
  KEY `students_users_id_foreign` (`users_id`),
  KEY `students_campuses_id_foreign` (`campuses_id`),
  KEY `students_student_categories_id_foreign` (`student_categories_id`),
  KEY `students_courses_id_foreign` (`courses_id`),
  CONSTRAINT `students_campuses_id_foreign` FOREIGN KEY (`campuses_id`) REFERENCES `campuses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `students_courses_id_foreign` FOREIGN KEY (`courses_id`) REFERENCES `courses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `students_student_categories_id_foreign` FOREIGN KEY (`student_categories_id`) REFERENCES `student_categories` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `students_users_id_foreign` FOREIGN KEY (`users_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=566477 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `students`
--

INSERT INTO `students` VALUES (67,10,'C/CHA/23001/001',1344,2,86,'86','23/0002',1,'2023-09-08 20:12:59','2024-07-21 10:30:44',0,0,1,0,0,0,2,1,'0',1,0,0,'86','N','0',0,0,NULL,NULL,'0000-00-00 00:00:00',0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,'updated-new-inservice2',NULL,'0','0'),(69,1,'D/NURS/20048/6911',1,38,156,'0','19/0001',5,'2023-09-19 12:07:15','2023-09-19 12:07:15',0,0,1,0,0,0,1,1,NULL,1,0,0,'12/01/2022','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(70,1,'C/NUT/23001/18',1,38,156,'0','17/0001',1,'2023-09-19 12:10:43','2023-09-19 12:10:43',0,0,1,0,0,0,1,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(74,100,'C/NUT/23001/17',1,2,3,'0','23/0003',1,'2024-03-09 10:11:16','2024-03-09 10:11:16',0,0,1,0,0,0,3,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(75,101,'C/NUT/23001/19',2,2,3,'0','23/0004',1,'2024-03-12 07:20:15','2024-03-12 07:20:15',0,0,1,0,0,0,4,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(76,99,'C/NUT/23001/003',3,2,3,'0','23/0005',1,'2024-03-12 10:23:55','2024-03-12 10:23:55',0,0,1,0,0,0,5,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(77,94,'C/NUT/23001/004',4,2,3,'0','23/0006',1,'2024-03-12 10:23:55','2024-03-12 10:23:55',0,0,1,0,0,0,6,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(78,103,'C/NUT/23001/16',5,2,3,'0','23/0007',1,'2024-03-12 10:24:11','2024-03-12 10:24:11',0,0,1,0,0,0,7,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(79,99,'C/NUT/23001/015',6,2,3,'0','23/0008',1,'2024-03-13 16:39:14','2024-03-13 16:39:14',0,0,1,0,0,0,8,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(80,99,'C/NUT/23001/12',7,2,3,'0','23/0009',1,'2024-03-13 16:40:24','2024-03-13 16:40:24',0,0,1,0,0,0,9,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(81,99,'C/NUT/23001/11',8,2,3,'0','23/0010',1,'2024-04-11 19:21:44','2024-04-11 19:21:44',0,0,1,0,0,0,10,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(82,99,'C/NUT/23001/010',9,2,3,'0','23/0011',1,'2024-04-13 10:26:50','2024-04-13 10:26:50',0,0,1,0,0,0,11,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(83,99,'C/NUT/23001/13',13,2,3,'0','23/0012',1,'2024-04-13 11:03:51','2024-04-13 11:03:51',0,0,1,0,0,0,12,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(84,107,'C/NUT/23001/023',14,2,3,'0','23/0013',1,'2024-04-13 11:09:35','2024-04-13 11:09:35',0,0,1,0,0,0,13,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(85,107,'C/NUT/23001/022',20,2,3,'0','23/0014',1,'2024-04-13 11:19:51','2024-04-13 11:19:51',0,0,1,0,0,0,14,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(86,107,'C/NUT/23001/021',21,2,3,'0','23/0015',1,'2024-04-13 11:20:00','2024-04-13 11:20:00',0,0,1,0,0,0,15,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(87,107,'C/NUT/23001/23',23,2,3,'0','23/0016',1,'2024-04-13 11:20:50','2024-04-13 11:20:50',0,0,1,0,0,0,16,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(88,107,'C/NUT/23001/024',24,2,3,'0','23/0017',1,'2024-04-13 11:21:22','2024-04-13 11:21:22',0,0,1,0,0,0,17,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0'),(89,107,'C/NUT/23001/025',25,2,3,'0','23/0018',1,'2024-04-19 10:51:13','2024-04-19 10:51:13',0,0,1,0,0,0,18,0,NULL,0,0,0,'0','N','0',0,0,NULL,NULL,NULL,0,'0','Dr. Lucy Waweru','REGISTRAR',0,'0',0,0,'DEFAULT',0,NULL,'No',0,NULL,0,NULL,NULL,'0','0');

--
-- Table structure for table `sub_counties`
--

CREATE TABLE `sub_counties` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `county_id` int unsigned NOT NULL DEFAULT '2',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `active` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `old` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `sub_counties_county_id_foreign` (`county_id`),
  CONSTRAINT `sub_counties_county_id_foreign` FOREIGN KEY (`county_id`) REFERENCES `counties` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=231 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `sub_counties`
--

INSERT INTO `sub_counties` VALUES (1,'Baringo',2,NULL,NULL,'1','1'),(2,'Bomet',2,NULL,NULL,'1','1'),(3,'Bondo',2,NULL,NULL,'1','1'),(4,'Bungoma',2,NULL,NULL,'1','1'),(5,'Buret',2,NULL,NULL,'1','1'),(6,'Busia',2,NULL,NULL,'1','1'),(7,'Butere/Mumias',2,NULL,NULL,'1','1'),(8,'Embu',2,NULL,NULL,'1','1'),(9,'Garrissa',2,NULL,NULL,'1','1'),(10,'Gucha',2,NULL,NULL,'1','1'),(11,'Homa Bay',2,NULL,NULL,'1','1'),(12,'Ijara',2,NULL,NULL,'1','1'),(13,'Isiolo',2,NULL,NULL,'1','1'),(14,'Kajiado ',2,NULL,NULL,'1','1'),(15,'Kakamega',2,NULL,NULL,'1','1'),(16,'Keiyo',2,NULL,NULL,'1','1'),(17,'Kericho',2,NULL,NULL,'1','1'),(18,'Kiambu',2,NULL,NULL,'1','1'),(19,'Kilifi',2,NULL,NULL,'1','1'),(20,'Kirinyaga',2,NULL,NULL,'1','1'),(21,'Kisii Central',2,NULL,NULL,'1','1'),(22,'Kisumu',2,NULL,NULL,'1','1'),(23,'Kitui',2,NULL,NULL,'1','1'),(24,'Koibatek',2,NULL,NULL,'1','1'),(25,'Kuria ',2,NULL,NULL,'1','1'),(26,'Kwale',2,NULL,NULL,'1','1'),(27,'Laikipia ',2,NULL,NULL,'1','1'),(28,'Lamu',2,NULL,NULL,'1','1'),(29,'Lugari',2,NULL,NULL,'1','1'),(30,'Machakos ',2,NULL,NULL,'1','1'),(31,'Makueni',2,NULL,NULL,'1','1'),(32,'Malindi ',2,NULL,NULL,'1','1'),(33,'Mandera',2,NULL,NULL,'1','1'),(34,'Maragua',2,NULL,NULL,'1','1'),(35,'Marakwet',2,NULL,NULL,'1','1'),(36,'Marsabit',2,NULL,NULL,'1','1'),(37,'Mbeere',2,NULL,NULL,'1','1'),(38,'Meru Central',2,NULL,NULL,'1','1'),(39,'Meru North',2,NULL,NULL,'1','1'),(40,'Meru South',2,NULL,NULL,'1','1'),(41,'Migori',2,NULL,NULL,'1','1'),(42,'Mombasa',2,NULL,NULL,'1','1'),(43,'Mount Elgon',2,NULL,NULL,'1','1'),(44,'Moyale ',2,NULL,NULL,'1','1'),(45,'Muranga',2,NULL,NULL,'1','1'),(46,'Mwingi ',2,NULL,NULL,'1','1'),(47,'Nairobi',2,NULL,NULL,'1','1'),(48,'Nakuru',2,NULL,NULL,'1','1'),(49,'Nandi',2,NULL,NULL,'1','1'),(50,'Narok',2,NULL,NULL,'1','1'),(51,'Nyamira',2,NULL,NULL,'1','1'),(52,'Nyandarua',2,NULL,NULL,'1','1'),(53,'Nyando',2,NULL,NULL,'1','1'),(54,'Nyeri',2,NULL,NULL,'1','1'),(55,'Rachuonyo',2,NULL,NULL,'1','1'),(56,'Samburu',2,NULL,NULL,'1','1'),(57,'Siaya',2,NULL,NULL,'1','1'),(58,'Suba',2,NULL,NULL,'1','1'),(59,'Taita Taveta',2,NULL,NULL,'1','1'),(60,'Tana River',2,NULL,NULL,'1','1'),(61,'Teso',2,NULL,NULL,'1','1'),(62,'Tharaka',2,NULL,NULL,'1','1'),(63,'Thika',2,NULL,NULL,'1','1'),(64,'Trans Mara',2,NULL,NULL,'1','1'),(65,'Trans Nzoia',2,NULL,NULL,'1','1'),(66,'Turkana ',2,NULL,NULL,'1','1'),(67,'Uasin Gishu',2,NULL,NULL,'1','1'),(68,'Vihiga',2,NULL,NULL,'1','1'),(69,'Wajir',2,NULL,NULL,'1','1'),(70,'West Pokot',2,NULL,NULL,'1','1'),(71,'Not Confirmed',2,'2016-11-20 21:00:00','2016-11-20 21:00:00','1','1'),(72,'Nairobi East',31,'2016-11-22 09:33:34','2016-11-22 09:33:34','0','0'),(73,'Nairobi North',31,'2016-11-22 09:33:34','2016-11-22 09:33:34','0','0'),(74,'Nairobi West',31,'2016-11-22 09:33:34','2016-11-22 09:33:34','0','0'),(75,'Westlands',31,'2016-11-22 09:33:34','2016-11-22 09:33:34','0','0'),(78,'Nyandarua North',36,'2016-11-22 10:02:02','2016-11-22 10:02:02','0','1'),(79,'Nyandarua South',36,'2016-11-22 10:02:02','2016-11-22 10:02:02','0','1'),(80,'TESO NORTH',5,'2016-11-25 07:27:01','2016-11-25 07:27:01','0','0'),(81,'TESO SOUTH',5,'2016-11-25 07:27:01','2016-11-25 07:27:01','0','0'),(82,'BUSIA',5,'2016-11-25 07:27:01','2016-11-25 07:27:01','0','0'),(83,'SAMIA',5,'2016-11-25 07:27:01','2016-11-25 07:27:01','0','0'),(84,'BUNYALA',5,'2016-11-25 07:27:01','2016-11-25 07:27:01','0','0'),(85,'MT ELGON',4,'2016-11-25 07:34:17','2016-11-25 07:34:17','0','0'),(86,'BUNGOMA NORTH',4,'2016-11-25 07:35:24','2016-11-25 07:35:24','0','0'),(87,'BUNGOMA EAST',4,'2016-11-25 07:35:24','2016-11-25 07:35:24','0','0'),(88,'BUNGOMA WEST',4,'2016-11-25 07:35:24','2016-11-25 07:35:24','0','0'),(89,'BUNGOMA SOUTH',4,'2016-11-25 07:35:24','2016-11-25 07:35:24','0','0'),(90,'EMUHAYA',46,'2016-11-25 07:39:25','2016-11-25 07:39:25','0','0'),(91,'VIHIGA',46,'2016-11-25 07:39:25','2016-11-25 07:39:25','0','0'),(92,'HAMISI',46,'2016-11-25 07:39:25','2016-11-25 07:39:25','0','0'),(93,'KAKAMEGA NORTH',12,'2016-11-28 10:25:54','2016-11-28 10:25:54','0','0'),(94,'LUGARI',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(95,'MUMIAS',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(96,'KAKAMEGA CENTRAL',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(97,'KAKAMEGA EAST',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(98,'KAKAMEGA SOUTH',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(99,'BUTERE',12,'2016-11-28 10:28:27','2016-11-28 10:28:27','0','0'),(100,'BOMET',3,'2016-11-28 10:38:51','2016-11-28 10:38:51','0','0'),(101,'SOTIK',3,'2016-11-28 10:38:51','2016-11-28 10:38:51','0','0'),(102,'BURETI',3,'2016-11-28 10:39:27','2016-11-28 10:39:27','0','0'),(103,'Kericho',13,'2016-11-28 10:42:32','2016-11-28 10:42:32','0','0'),(104,'KIPKELION',13,'2016-11-28 10:42:32','2016-11-28 10:42:32','0','0'),(105,' KAJIADO NORTH',11,'2016-11-29 05:13:55','2016-11-29 05:13:55','0','0'),(106,'KAJIADO CENTRAL',11,'2016-11-29 05:13:55','2016-11-29 05:13:55','0','0'),(107,'LOITOKITOK',11,'2016-11-29 05:13:55','2016-11-29 05:13:55','0','0'),(108,'TRANS MARA',34,'2016-11-29 05:19:07','2016-11-29 05:19:07','0','0'),(109,'NAROK NORTH',34,'2016-11-29 05:19:07','2016-11-29 05:19:07','0','0'),(110,'NAROK SOUTH',34,'2016-11-29 05:19:07','2016-11-29 05:19:07','0','0'),(111,'NAIVASHA',32,'2016-11-29 05:24:12','2016-11-29 05:24:12','0','0'),(112,'NAKURU',32,'2016-11-29 05:24:12','2016-11-29 05:24:12','0','0'),(113,'MOLO',32,'2016-11-29 05:24:12','2016-11-29 05:24:12','0','0'),(114,'NAKURU NORTH',32,'2016-11-29 05:24:12','2016-11-29 05:24:12','0','0'),(115,'LAIKIPIA WEST',21,'2016-11-29 07:40:40','2016-11-29 07:40:40','0','0'),(116,'LAIKIPIA NORTH ',21,'2016-11-29 07:40:40','2016-11-29 07:40:40','0','0'),(117,'LAIKIPIA EAST',21,'2016-11-29 07:40:40','2016-11-29 07:40:40','0','0'),(118,'NANDI NORTH',33,'2016-11-29 07:47:48','2016-11-29 07:47:48','0','0'),(119,'NANDI SOUTH',33,'2016-11-29 07:47:48','2016-11-29 07:47:48','0','0'),(120,'NANDI CENTRAL',33,'2016-11-29 07:47:50','2016-11-29 07:47:50','0','0'),(121,'NANDI EAST',33,'2016-11-29 07:47:50','2016-11-29 07:47:50','0','0'),(122,' TINDERET',33,'2016-11-29 07:47:50','2016-11-29 07:47:50','0','0'),(123,'MARAKWET',6,'2016-11-29 08:01:02','2016-11-29 08:01:02','0','0'),(124,'KEIYO',6,'2016-11-29 08:01:03','2016-11-29 08:01:03','0','0'),(125,'ELDORET',45,'2016-11-29 08:11:53','2016-11-29 08:11:53','0','0'),(126,'WARENG',45,'2016-11-29 08:11:53','2016-11-29 08:11:53','0','0'),(127,'ELDORET EAST',45,'2016-11-29 08:11:53','2016-11-29 08:11:53','0','0'),(128,'EAST POKOT',2,'2016-11-29 08:18:50','2016-11-29 08:18:50','0','0'),(129,'BARINGO NORTH',2,'2016-11-29 08:18:50','2016-11-29 08:18:50','0','0'),(130,'BARINGO',2,'2016-11-29 08:18:50','2016-11-29 08:18:50','0','0'),(131,'BARINGO',2,'2016-11-29 08:18:50','2016-11-29 08:18:50','0','0'),(132,'KOIBATEK',2,'2016-11-29 08:18:50','2016-11-29 08:18:50','0','0'),(133,'KWANZA',43,'2016-11-29 08:22:01','2016-11-29 08:22:01','0','0'),(134,'TRANS NZOIA WEST',43,'2016-11-29 08:22:01','2016-11-29 08:22:01','0','0'),(135,'SAMBURU CENTRAL',38,'2016-11-29 08:33:42','2016-11-29 08:33:42','0','0'),(136,'SAMBURU NORTH',38,'2016-11-29 08:33:42','2016-11-29 08:33:42','0','0'),(137,'SAMBURU EAST',38,'2016-11-29 08:33:42','2016-11-29 08:33:42','0','0'),(138,'POKOT NORTH',48,'2016-11-29 08:36:25','2016-11-29 08:36:25','0','0'),(139,'WEST POKOT',48,'2016-11-29 08:37:09','2016-11-29 08:37:09','0','0'),(140,'POKOT CENTRAL',48,'2016-11-29 08:37:09','2016-11-29 08:37:09','0','0'),(141,'TURKANA NORTH',44,'2016-11-29 08:47:45','2016-11-29 08:47:45','0','0'),(142,'TURKANA CENTRAL',44,'2016-11-29 08:47:45','2016-11-29 08:47:45','0','0'),(143,'TURKANA SOUTH',44,'2016-11-29 08:47:45','2016-11-29 08:47:45','0','0'),(144,'MASABA',35,'2016-11-29 08:54:22','2016-11-29 08:54:22','0','0'),(145,'NYAMIRA',35,'2016-11-29 08:54:22','2016-11-29 08:54:22','0','0'),(146,'BORABU',35,'2016-11-29 08:54:22','2016-11-29 08:54:22','0','0'),(147,'KISII SOUTH',17,'2016-11-30 03:39:32','2016-11-30 03:39:32','0','0'),(148,'GUCHA SOUTH',17,'2016-11-30 03:39:32','2016-11-30 03:39:32','0','0'),(149,'GUCHA',17,'2016-11-30 03:39:32','2016-11-30 03:39:32','0','0'),(150,'MASABA',17,'2016-11-30 03:39:32','2016-11-30 03:39:32','0','0'),(151,'KISII CENTRAL',17,'2016-11-30 03:39:32','2016-11-30 03:39:32','0','0'),(152,'RACHUONYO',9,'2016-11-30 03:48:05','2016-11-30 03:48:05','0','0'),(153,'HOMABAY',9,'2016-11-30 03:48:05','2016-11-30 03:48:05','0','0'),(154,'SUBA',9,'2016-11-30 03:48:05','2016-11-30 03:48:05','0','0'),(155,'RONGO',28,'2016-11-30 03:52:04','2016-11-30 03:52:04','0','0'),(156,'MIGORI',28,'2016-11-30 03:52:05','2016-11-30 03:52:05','0','0'),(157,'KURIA WEST',28,'2016-11-30 03:52:05','2016-11-30 03:52:05','0','0'),(158,'KURIA EAST',28,'2016-11-30 03:52:05','2016-11-30 03:52:05','0','0'),(159,' KISUMU EAST',18,'2016-11-30 03:54:45','2016-11-30 03:54:45','0','0'),(160,'KISUMU WEST',18,'2016-11-30 03:54:45','2016-11-30 03:54:45','0','0'),(161,'NYANDO',18,'2016-11-30 03:54:45','2016-11-30 03:54:45','0','0'),(162,' SIAYA',39,'2016-11-30 03:59:10','2016-11-30 03:59:10','0','0'),(163,'BONDO',39,'2016-11-30 03:59:10','2016-11-30 03:59:10','0','0'),(164,'RARIEDA',39,'2016-11-30 03:59:10','2016-11-30 03:59:10','0','0'),(165,'MANDERA WEST',25,'2016-11-30 04:02:31','2016-11-30 04:02:31','0','0'),(166,'MANDERA CENTRAL',25,'2016-11-30 04:02:31','2016-11-30 04:02:31','0','0'),(167,'MANDERA EAST',25,'2016-11-30 04:02:31','2016-11-30 04:02:31','0','0'),(168,'WAJIR NORTH',47,'2016-11-30 04:09:30','2016-11-30 04:09:30','0','0'),(169,'WAJIR WEST',47,'2016-11-30 04:09:30','2016-11-30 04:09:30','0','0'),(170,'WAJIR EAST',47,'2016-11-30 04:09:30','2016-11-30 04:09:30','0','0'),(171,'WAJIR SOUTH',47,'2016-11-30 04:09:30','2016-11-30 04:09:30','0','0'),(172,'GARISSA',8,'2016-11-30 04:12:51','2016-11-30 04:12:51','0','0'),(173,'LAGDERA',8,'2016-11-30 04:12:51','2016-11-30 04:12:51','0','0'),(174,'FAFI',8,'2016-11-30 04:12:51','2016-11-30 04:12:51','0','0'),(175,'IJARA',8,'2016-11-30 04:12:51','2016-11-30 04:12:51','0','0'),(176,'MAKUENI',24,'2016-11-30 04:17:39','2016-11-30 04:17:39','0','0'),(177,'NZAUI',24,'2016-11-30 04:17:39','2016-11-30 04:17:39','0','0'),(178,'KIBWEZI',24,'2016-11-30 04:17:39','2016-11-30 04:17:39','0','0'),(179,'YATTA',23,'2016-11-30 04:26:15','2016-11-30 04:26:15','0','0'),(180,'KANGUNDO',23,'2016-11-30 04:26:15','2016-11-30 04:26:15','0','0'),(181,'MACHAKOS',23,'2016-11-30 04:26:15','2016-11-30 04:26:15','0','0'),(182,'MWALA',23,'2016-11-30 04:26:15','2016-11-30 04:26:15','0','0'),(183,'MWINGI',19,'2016-11-30 05:09:24','2016-11-30 05:09:24','0','0'),(184,'KITUI',19,'2016-11-30 05:09:24','2016-11-30 05:09:24','0','0'),(185,'MUTOMO',19,'2016-11-30 05:09:24','2016-11-30 05:09:24','0','0'),(186,'EMBU',7,'2016-11-30 05:12:15','2016-11-30 05:12:15','0','0'),(187,'MBEERE',7,'2016-11-30 05:12:15','2016-11-30 05:12:15','0','0'),(188,'MERU SOUTH',42,'2016-11-30 05:14:49','2016-11-30 05:14:49','0','0'),(189,'THARAKA',42,'2016-11-30 05:14:49','2016-11-30 05:14:49','0','0'),(190,'MAARA',42,'2016-11-30 05:14:49','2016-11-30 05:14:49','0','0'),(191,'IGEMBE',27,'2016-11-30 05:20:13','2016-11-30 05:20:13','0','0'),(192,'TIGANIA',27,'2016-11-30 05:20:13','2016-11-30 05:20:13','0','0'),(193,'IMENTI NORTH',27,'2016-11-30 05:20:13','2016-11-30 05:20:13','0','0'),(194,'MERU CENTRAL',27,'2016-11-30 05:20:13','2016-11-30 05:20:13','0','0'),(195,'IMENTI SOUTH',27,'2016-11-30 05:20:13','2016-11-30 05:20:13','0','0'),(196,'ISIOLO',10,'2016-11-30 05:25:21','2016-11-30 05:25:21','0','0'),(197,'GARBATULA ',10,'2016-11-30 05:25:32','2016-11-30 05:25:32','0','0'),(198,'MOYALE',26,'2016-11-30 05:27:17','2016-11-30 05:27:17','0','0'),(199,'CHALBI',26,'2016-11-30 05:27:17','2016-11-30 05:27:17','0','0'),(200,'MARSABIT',26,'2016-11-30 05:27:17','2016-11-30 05:27:17','0','0'),(201,'LAISAMIS',26,'2016-11-30 05:27:17','2016-11-30 05:27:17','0','0'),(202,'TAVETA',40,'2016-11-30 05:30:01','2016-11-30 05:30:01','0','0'),(203,'TAITA',40,'2016-11-30 05:30:01','2016-11-30 05:30:01','0','0'),(204,'LAMU',22,'2016-11-30 05:31:29','2016-11-30 05:31:29','0','0'),(205,'TANA DELTA',41,'2016-11-30 05:32:40','2016-11-30 05:32:40','0','0'),(206,'TANA RIVER',41,'2016-11-30 05:32:40','2016-11-30 05:32:40','0','0'),(207,'KILIFI',15,'2016-11-30 05:34:29','2016-11-30 05:34:29','0','0'),(208,'KALOLENI',15,'2016-11-30 05:34:29','2016-11-30 05:34:29','0','0'),(209,'MALINDI',15,'2016-11-30 05:34:29','2016-11-30 05:34:29','0','0'),(210,' MSAMBWENI',20,'2016-11-30 05:43:18','2016-11-30 05:43:18','0','0'),(211,'KWALE',20,'2016-11-30 05:43:18','2016-11-30 05:43:18','0','0'),(212,'KINANGO',20,'2016-11-30 05:43:18','2016-11-30 05:43:18','0','0'),(213,'MOMBASA',29,'2016-11-30 05:45:32','2016-11-30 05:45:32','0','0'),(214,'GATUNDU',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(215,'THIKA EAST',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(216,'RUIRU',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(217,'GITHUNGURI',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(218,'KIAMBU',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(219,'KIKUYU',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(220,'LIMURU',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(221,'LARI',14,'2016-11-30 05:49:13','2016-11-30 05:49:13','0','0'),(222,' MURANGA NORTH',30,'2016-11-30 05:53:45','2016-11-30 05:53:45','0','0'),(223,'MURANGA SOUTH',30,'2016-11-30 05:53:46','2016-11-30 05:53:46','0','0'),(224,'THIKA EAST',30,'2016-11-30 05:53:46','2016-11-30 05:53:46','0','0'),(225,'KIRINYAGA',16,'2016-11-30 05:56:21','2016-11-30 05:56:21','0','0'),(226,'NYERI SOUTH',37,'2016-11-30 05:58:12','2016-11-30 05:58:12','0','0'),(227,'NYERI NORTH',37,'2016-11-30 05:58:12','2016-11-30 05:58:12','0','0'),(228,'NYANDARUA SOUTH',36,'2016-11-30 05:59:57','2016-11-30 05:59:57','0','0'),(229,'NYANDARUA NORTH',36,'2016-11-30 05:59:57','2016-11-30 05:59:57','0','0'),(230,'Foreign',49,'2017-02-17 09:13:54','2017-02-17 09:13:54','0','0');

--
-- Table structure for table `subject_categories`
--

CREATE TABLE `subject_categories` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subject_categories_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `subject_categories`
--

INSERT INTO `subject_categories` VALUES (1,'Languages','2017-09-05 21:00:00','2017-09-05 21:00:00'),(2,'Compulsory','2017-09-05 21:00:00','2017-09-05 21:00:00'),(3,'Mean Grade','2017-09-05 21:00:00','2017-09-05 21:00:00'),(4,'Category 2','2017-09-05 21:00:00','2017-09-05 21:00:00'),(5,'Category 3','2017-09-05 21:00:00','2017-09-05 21:00:00'),(6,'Category 4','2017-09-05 21:00:00','2017-09-05 21:00:00');

--
-- Table structure for table `subjects`
--

CREATE TABLE `subjects` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `subjects_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=63 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `subjects`
--

INSERT INTO `subjects` VALUES (0,'Foreign Student',NULL,NULL),(1,'English',NULL,NULL),(2,'Kiswahili',NULL,NULL),(3,'Biology',NULL,NULL),(4,'Mathematics',NULL,NULL),(5,'Chemistry',NULL,NULL),(6,'Physics',NULL,NULL),(7,'History',NULL,NULL),(8,'CRE',NULL,NULL),(9,'IRE',NULL,NULL),(10,'Geography',NULL,NULL),(11,'Business Studies',NULL,NULL),(12,'Agriculture',NULL,NULL),(13,'Metal Work',NULL,NULL),(14,'Home Science',NULL,NULL),(15,'Physical Sciences',NULL,NULL),(16,'Biological Sciences',NULL,NULL),(17,'Mean Grade','2017-09-11 21:00:00','2017-09-11 21:00:00'),(55,'','2017-09-11 21:00:00','2017-09-11 21:00:00'),(56,'Computer Studeies',NULL,NULL),(57,'General Science',NULL,NULL),(58,'Electricity',NULL,NULL),(59,'Technical Drawing',NULL,NULL),(60,'Wood Work',NULL,NULL),(61,'Building Construction',NULL,NULL),(62,'Kenya Sign Language',NULL,NULL);

--
-- Table structure for table `test_apis`
--

CREATE TABLE `test_apis` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `details` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `test_apis`
--


--
-- Table structure for table `testpayment`
--

CREATE TABLE `testpayment` (
  `id` int NOT NULL AUTO_INCREMENT,
  `mpesa` varchar(20) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;

--
-- Dumping data for table `testpayment`
--


--
-- Table structure for table `track_uploads`
--

CREATE TABLE `track_uploads` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `status` int NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `track_uploads`
--

INSERT INTO `track_uploads` VALUES (1,0,'2023-02-08 06:59:38','2023-02-08 06:59:38');

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `students_id` int unsigned NOT NULL,
  `billing_id` int unsigned NOT NULL,
  `reference` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `account` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `amount` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `served_by` int unsigned NOT NULL,
  `narration` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `amountinwords` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `cheque_date` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `payment_method` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `shared_cheque_id` int unsigned DEFAULT NULL,
  `receipt_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `received_at` int unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `transactions_students_id_foreign` (`students_id`),
  KEY `transactions_billing_id_foreign` (`billing_id`),
  CONSTRAINT `transactions_billing_id_foreign` FOREIGN KEY (`billing_id`) REFERENCES `billings` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `transactions_students_id_foreign` FOREIGN KEY (`students_id`) REFERENCES `students` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `transactions`
--


--
-- Table structure for table `transfer_trails`
--

CREATE TABLE `transfer_trails` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int unsigned NOT NULL,
  `reference` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `description` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `department` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `transferred_by` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `transfer_trails`
--


--
-- Table structure for table `upload_e_r_ps`
--

CREATE TABLE `upload_e_r_ps` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `reg_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `first_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `middle_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `surname` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `dob` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `county` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `country` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `id_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `mob_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `postal_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `student_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `course` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `class` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `town` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `campus` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kcse_year` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kcpe_index_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `sub_county` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `constituency` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kcpe_year` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `kcse_index_no` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `uploaded` enum('Yes','No','Error') CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'No',
  `reasons` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `upload_e_r_ps`
--

INSERT INTO `upload_e_r_ps` VALUES (4,'C/CHA/22027/1344',NULL,NULL,'EKAAL  GEOFREY','M','04/07/1999','Turkana','Kenya','3962791','+254759728710','77 30200','ekaalgeofrey@gmail.com','GSSP','Certificate in Community Health Assistant','2022/2023 March Intake','KITALE','Lodwar','2018','21549101017','TURKANA CENTRAL','Loima',NULL,NULL,'Yes','success','2023-09-08 14:29:35','2023-09-08 20:12:59');

--
-- Table structure for table `uploads`
--

CREATE TABLE `uploads` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `users_id` int unsigned NOT NULL,
  `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `upload_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `uploads_users_id_foreign` (`users_id`),
  CONSTRAINT `uploads_users_id_foreign` FOREIGN KEY (`users_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `uploads`
--


--
-- Table structure for table `user_balances`
--

CREATE TABLE `user_balances` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `student_id` int unsigned NOT NULL,
  `amount` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_balances`
--


--
-- Table structure for table `user_campuses`
--

CREATE TABLE `user_campuses` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `campus_id` int unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_campuses_user_id_foreign` (`user_id`),
  KEY `user_campuses_campus_id_foreign` (`campus_id`),
  CONSTRAINT `user_campuses_campus_id_foreign` FOREIGN KEY (`campus_id`) REFERENCES `campuses` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `user_campuses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_campuses`
--


--
-- Table structure for table `user_staffs`
--

CREATE TABLE `user_staffs` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `first_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `middle_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_staffs_email_unique` (`email`),
  KEY `user_staffs_user_id_foreign` (`user_id`),
  CONSTRAINT `user_staffs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_staffs`
--


--
-- Table structure for table `user_steps`
--

CREATE TABLE `user_steps` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned DEFAULT NULL,
  `step_id` int unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_steps`
--

INSERT INTO `user_steps` VALUES (1,1,1,'2023-02-08 07:08:04','2023-02-08 07:08:04'),(2,1,2,'2023-02-08 07:09:20','2023-02-08 07:09:20'),(3,1,3,'2023-02-08 07:11:32','2023-02-08 07:11:32'),(4,1,7,'2023-05-25 09:37:08','2023-05-25 09:37:08'),(6,17,1,'2023-11-23 09:56:18','2023-11-23 09:56:18'),(7,17,2,'2023-11-23 10:00:01','2023-11-23 10:00:01'),(8,18,1,'2024-03-02 13:33:25','2024-03-02 13:33:25'),(9,108,1,'2024-07-22 11:24:04','2024-07-22 11:24:04'),(10,109,1,'2024-07-30 05:35:44','2024-07-30 05:35:44'),(11,110,1,'2024-08-01 12:00:56','2024-08-01 12:00:56'),(12,110,2,'2024-08-01 12:13:23','2024-08-01 12:13:23'),(13,32878,3,'2024-08-10 14:46:04','2024-08-10 14:46:04'),(14,32879,2,'2024-08-10 16:17:05','2024-08-10 16:17:05');

--
-- Table structure for table `user_students`
--

CREATE TABLE `user_students` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int unsigned NOT NULL,
  `first_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `middle_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `address` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `postal_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `town` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `id_number` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `gender` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `yearofexam` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `indexnumber` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `country_id` int unsigned NOT NULL,
  `county_id` int unsigned NOT NULL,
  `sub_county_id` int unsigned NOT NULL,
  `const_id` int unsigned NOT NULL,
  `disability` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `disability_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `disability_info` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `county` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `subcounty` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `consti` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `corrected` int NOT NULL DEFAULT '0',
  `date_of_birth` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '0',
  `expiry_date` date DEFAULT NULL,
  `valid_passport` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT 'Kenyan Citizen',
  `country_of_exam` int NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_students_user_id_unique` (`user_id`),
  UNIQUE KEY `user_students_id_number_unique` (`id_number`),
  KEY `user_students_country_id_foreign` (`country_id`),
  KEY `user_students_county_id_foreign` (`county_id`),
  KEY `user_students_sub_county_id_foreign` (`sub_county_id`),
  KEY `user_students_const_id_foreign` (`const_id`),
  CONSTRAINT `user_students_const_id_foreign` FOREIGN KEY (`const_id`) REFERENCES `constituencies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_students_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_students_county_id_foreign` FOREIGN KEY (`county_id`) REFERENCES `counties` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_students_sub_county_id_foreign` FOREIGN KEY (`sub_county_id`) REFERENCES `sub_counties` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_students_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_students`
--

INSERT INTO `user_students` VALUES (1,1,'Jopshat','John','Sam','1010','101','Nairobi','3962791','+2549888','M','2023','2023_12345',1,2,128,378,'No',NULL,'','2023-02-08 07:09:20','2023-08-02 08:36:59',NULL,'','','',0,'2005-02-08',NULL,'Kenyan Citizen',1),(8,9,'Masika','Joseph','Simiyu','39 50200','39 50200','Bungoma','37672016','+254741067626','M','2019','36602152127',1,4,89,308,'No',NULL,NULL,'2023-09-08 20:08:18','2023-09-08 20:08:18',NULL,'','','',0,'02/02/1999',NULL,'Kenyan Citizen',1),(57,94,'NJUE','INNOCENT','WENDO','0','0','0','20221435510213912','745214419','F','2022','20221435510213912',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:03:37','2024-03-09 10:03:37',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(58,95,'NJUE','INNOCENT','WENDO','0','0','0','13','745214419','F','2022','13',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:04:32','2024-03-09 10:04:32',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(59,96,'NJUE','INNOCENT','WENDO','0','0','0','18','745214419','F','2022','18',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:08:10','2024-03-09 10:08:10',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(60,97,'NJUE','INNOCENT','WENDO','0','0','0','202214355102139127','745214419','F','2022','202214355102139127',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:08:28','2024-03-09 10:08:28',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(61,98,'NJUE','INNOCENT','WENDO','0','0','0','2022143551021394116','745214419','F','2022','2022143551021394116',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:09:10','2024-03-09 10:09:10',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(63,100,'NJUE','INNOCENT','WENDO','0','0','0','20221435510213912720_old','745214419','F','2022','20221435510213912720',1,7,72,577,'No',NULL,NULL,'2024-03-09 10:11:16','2024-03-12 07:20:15',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(64,101,'NJUE','INNOCENT','WENDO','0','0','0','20221435510213912720','745214419','F','2022','20221435510213912720',1,7,72,577,'No',NULL,NULL,'2024-03-12 07:20:15','2024-03-12 07:20:15',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(66,103,'NJUE','INNOCENT','WENDO','0','0','0','21','745214419','F','2022','21',1,7,72,577,'No',NULL,NULL,'2024-03-12 10:24:11','2024-03-12 10:24:11',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(67,107,'NJUE','INNOCENT','WENDO','0','0','0','2022143551021394119','745214419','F','2022','2022143551021394119',1,7,72,577,'No',NULL,NULL,'2024-04-13 11:08:53','2024-04-13 11:08:53',NULL,'','','',0,'0',NULL,'Kenyan Citizen',1),(68,110,'Josphat','','Test','265','00100','Baringo','6544678','+25488888','M','2023','2023_777766',1,2,128,378,'No',NULL,'','2024-08-01 12:13:23','2024-08-01 12:13:23',NULL,'','','',0,'2024-08-01',NULL,'Kenyan Citizen',2),(69,32878,'Josphat',NULL,'Test','265','00100','Baringo','6584','+25488888','M','2024','2024_7777',1,2,128,378,'No',NULL,NULL,'2024-08-09 16:01:44','2024-08-09 16:01:44',NULL,NULL,NULL,NULL,0,'2024-08-09',NULL,'Kenyan Citizen',1),(70,32879,'Josphat',NULL,'Test','265','00100','Baringo','39627918','+25488888','F','2023','2023_39627913',1,2,128,378,'No',NULL,NULL,'2024-08-10 16:17:05','2024-08-10 16:17:05',NULL,NULL,NULL,NULL,0,'2024-08-10',NULL,'Kenyan Citizen',1);

--
-- Table structure for table `widthraws`
--

CREATE TABLE `widthraws` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `widthraws`
--


--
-- Table structure for table `zipped_scholarships`
--

CREATE TABLE `zipped_scholarships` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `user_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `file` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `zipped_scholarships_file_unique` (`file`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb3 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `zipped_scholarships`
--

INSERT INTO `zipped_scholarships` VALUES (7,'2','1700740280.zip','2023-11-23 11:51:20','2023-11-23 11:51:20'),(8,'2','1700742972.zip','2023-11-23 12:36:12','2023-11-23 12:36:12');


