karmen_test.sql 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. -- MySQL dump 10.16 Distrib 10.3.9-MariaDB, for debian-linux-gnu (x86_64)
  2. --
  3. -- Host: localhost Database: karmen_dev
  4. -- ------------------------------------------------------
  5. -- Server version 10.3.9-MariaDB-1:10.3.9+maria~bionic
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!40101 SET NAMES utf8 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `activities`
  18. --
  19. DROP TABLE IF EXISTS `activities`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!40101 SET character_set_client = utf8 */;
  22. CREATE TABLE `activities` (
  23. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  24. `created_at` timestamp NULL DEFAULT NULL,
  25. `updated_at` timestamp NULL DEFAULT NULL,
  26. `deleted_at` timestamp NULL DEFAULT NULL,
  27. `name` varchar(255) DEFAULT NULL,
  28. `class_id` int(10) unsigned DEFAULT NULL,
  29. `teacher_id` int(10) unsigned DEFAULT NULL,
  30. `subject_id` int(10) unsigned DEFAULT NULL,
  31. `hours` int(11) DEFAULT NULL,
  32. `student_id` int(10) unsigned DEFAULT NULL,
  33. PRIMARY KEY (`id`),
  34. KEY `idx_activities_deleted_at` (`deleted_at`)
  35. ) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;
  36. /*!40101 SET character_set_client = @saved_cs_client */;
  37. --
  38. -- Dumping data for table `activities`
  39. --
  40. LOCK TABLES `activities` WRITE;
  41. /*!40000 ALTER TABLE `activities` DISABLE KEYS */;
  42. INSERT INTO `activities` VALUES (1,'2018-08-24 17:17:22','2018-08-24 17:17:22',NULL,'1 A MATEMATICA 2h',1,1,1,2,NULL),(2,'2018-08-24 17:18:01','2018-08-24 17:18:01',NULL,'1 A INGLESE 2h',1,2,3,2,NULL),(3,'2018-08-24 17:18:26','2018-08-24 17:18:26',NULL,'1 A ITALIANO 5h',1,3,2,5,NULL),(4,'2018-08-24 17:23:58','2018-08-24 17:23:58',NULL,'1 A STORIA DELL\'ARTE 2h',1,5,4,2,NULL),(5,'2018-08-24 17:24:20','2018-08-24 17:24:20',NULL,'1 A TECNOLOGIA 2h',1,4,9,2,NULL),(6,'2018-08-24 17:24:41','2018-08-24 17:24:41',NULL,'1 A FRANCESE 2h',1,7,7,2,NULL),(7,'2018-08-24 17:25:13','2018-08-24 17:25:13',NULL,'1 A RELIGIONE 2h',1,9,6,2,NULL),(8,'2018-08-24 17:25:44','2018-08-24 17:25:44',NULL,'1 A STORIA 2h',1,6,8,2,NULL),(9,'2018-08-24 17:26:15','2018-08-24 17:26:15',NULL,'1 A SCIENZE 2h',1,8,5,2,NULL),(10,'2018-09-18 09:21:28','2018-09-18 09:21:28',NULL,NULL,1,10,10,5,1),(11,'2018-09-18 09:27:33','2018-09-18 09:27:33',NULL,NULL,1,11,10,5,1),(12,'2018-09-18 09:29:43','2018-09-18 09:29:43',NULL,NULL,1,11,10,3,2);
  43. /*!40000 ALTER TABLE `activities` ENABLE KEYS */;
  44. UNLOCK TABLES;
  45. --
  46. -- Table structure for table `administratives`
  47. --
  48. DROP TABLE IF EXISTS `administratives`;
  49. /*!40101 SET @saved_cs_client = @@character_set_client */;
  50. /*!40101 SET character_set_client = utf8 */;
  51. CREATE TABLE `administratives` (
  52. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  53. `created_at` timestamp NULL DEFAULT NULL,
  54. `updated_at` timestamp NULL DEFAULT NULL,
  55. `deleted_at` timestamp NULL DEFAULT NULL,
  56. `name` varchar(255) DEFAULT NULL,
  57. `surname` varchar(255) DEFAULT NULL,
  58. `username` varchar(255) DEFAULT NULL,
  59. `password` varchar(255) DEFAULT NULL,
  60. `email` varchar(255) DEFAULT NULL,
  61. `telephone_number` varchar(255) DEFAULT NULL,
  62. `role` int(11) DEFAULT NULL,
  63. PRIMARY KEY (`id`),
  64. KEY `idx_administratives_deleted_at` (`deleted_at`)
  65. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  66. /*!40101 SET character_set_client = @saved_cs_client */;
  67. --
  68. -- Dumping data for table `administratives`
  69. --
  70. LOCK TABLES `administratives` WRITE;
  71. /*!40000 ALTER TABLE `administratives` DISABLE KEYS */;
  72. /*!40000 ALTER TABLE `administratives` ENABLE KEYS */;
  73. UNLOCK TABLES;
  74. --
  75. -- Table structure for table `classes`
  76. --
  77. DROP TABLE IF EXISTS `classes`;
  78. /*!40101 SET @saved_cs_client = @@character_set_client */;
  79. /*!40101 SET character_set_client = utf8 */;
  80. CREATE TABLE `classes` (
  81. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  82. `created_at` timestamp NULL DEFAULT NULL,
  83. `updated_at` timestamp NULL DEFAULT NULL,
  84. `deleted_at` timestamp NULL DEFAULT NULL,
  85. `name` varchar(255) DEFAULT NULL,
  86. `coordinator_id` int(10) unsigned DEFAULT NULL,
  87. `minuter_id` int(10) unsigned DEFAULT NULL,
  88. PRIMARY KEY (`id`),
  89. KEY `idx_classes_deleted_at` (`deleted_at`)
  90. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  91. /*!40101 SET character_set_client = @saved_cs_client */;
  92. --
  93. -- Dumping data for table `classes`
  94. --
  95. LOCK TABLES `classes` WRITE;
  96. /*!40000 ALTER TABLE `classes` DISABLE KEYS */;
  97. INSERT INTO `classes` VALUES (1,'2018-08-24 17:11:29','2018-08-24 17:26:35',NULL,'1 A',3,2),(2,'2018-08-24 17:12:43','2018-08-24 17:12:43','2018-08-24 17:17:01','1 A',1,2);
  98. /*!40000 ALTER TABLE `classes` ENABLE KEYS */;
  99. UNLOCK TABLES;
  100. --
  101. -- Table structure for table `department_teachers`
  102. --
  103. DROP TABLE IF EXISTS `department_teachers`;
  104. /*!40101 SET @saved_cs_client = @@character_set_client */;
  105. /*!40101 SET character_set_client = utf8 */;
  106. CREATE TABLE `department_teachers` (
  107. `department_id` int(10) unsigned NOT NULL,
  108. `teacher_id` int(10) unsigned NOT NULL,
  109. PRIMARY KEY (`department_id`,`teacher_id`)
  110. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  111. /*!40101 SET character_set_client = @saved_cs_client */;
  112. --
  113. -- Dumping data for table `department_teachers`
  114. --
  115. LOCK TABLES `department_teachers` WRITE;
  116. /*!40000 ALTER TABLE `department_teachers` DISABLE KEYS */;
  117. /*!40000 ALTER TABLE `department_teachers` ENABLE KEYS */;
  118. UNLOCK TABLES;
  119. --
  120. -- Table structure for table `departments`
  121. --
  122. DROP TABLE IF EXISTS `departments`;
  123. /*!40101 SET @saved_cs_client = @@character_set_client */;
  124. /*!40101 SET character_set_client = utf8 */;
  125. CREATE TABLE `departments` (
  126. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  127. `created_at` timestamp NULL DEFAULT NULL,
  128. `updated_at` timestamp NULL DEFAULT NULL,
  129. `deleted_at` timestamp NULL DEFAULT NULL,
  130. `name` varchar(255) DEFAULT NULL,
  131. `coordinator_id` int(10) unsigned DEFAULT NULL,
  132. PRIMARY KEY (`id`),
  133. KEY `idx_departments_deleted_at` (`deleted_at`)
  134. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
  135. /*!40101 SET character_set_client = @saved_cs_client */;
  136. --
  137. -- Dumping data for table `departments`
  138. --
  139. LOCK TABLES `departments` WRITE;
  140. /*!40000 ALTER TABLE `departments` DISABLE KEYS */;
  141. INSERT INTO `departments` VALUES (1,'2018-09-13 16:21:31','2018-09-13 16:30:10',NULL,'LINGUE STRANIERE',NULL),(4,'2018-09-18 09:20:14','2018-09-18 09:20:14',NULL,'SOSTEGNO',0);
  142. /*!40000 ALTER TABLE `departments` ENABLE KEYS */;
  143. UNLOCK TABLES;
  144. --
  145. -- Table structure for table `directors`
  146. --
  147. DROP TABLE IF EXISTS `directors`;
  148. /*!40101 SET @saved_cs_client = @@character_set_client */;
  149. /*!40101 SET character_set_client = utf8 */;
  150. CREATE TABLE `directors` (
  151. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  152. `created_at` timestamp NULL DEFAULT NULL,
  153. `updated_at` timestamp NULL DEFAULT NULL,
  154. `deleted_at` timestamp NULL DEFAULT NULL,
  155. `name` varchar(255) DEFAULT NULL,
  156. `surname` varchar(255) DEFAULT NULL,
  157. `username` varchar(255) DEFAULT NULL,
  158. `password` varchar(255) DEFAULT NULL,
  159. `email` varchar(255) DEFAULT NULL,
  160. `telephone_number` varchar(255) DEFAULT NULL,
  161. PRIMARY KEY (`id`),
  162. KEY `idx_directors_deleted_at` (`deleted_at`)
  163. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  164. /*!40101 SET character_set_client = @saved_cs_client */;
  165. --
  166. -- Dumping data for table `directors`
  167. --
  168. LOCK TABLES `directors` WRITE;
  169. /*!40000 ALTER TABLE `directors` DISABLE KEYS */;
  170. /*!40000 ALTER TABLE `directors` ENABLE KEYS */;
  171. UNLOCK TABLES;
  172. --
  173. -- Table structure for table `issues`
  174. --
  175. DROP TABLE IF EXISTS `issues`;
  176. /*!40101 SET @saved_cs_client = @@character_set_client */;
  177. /*!40101 SET character_set_client = utf8 */;
  178. CREATE TABLE `issues` (
  179. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  180. `created_at` timestamp NULL DEFAULT NULL,
  181. `updated_at` timestamp NULL DEFAULT NULL,
  182. `deleted_at` timestamp NULL DEFAULT NULL,
  183. `description` varchar(255) DEFAULT NULL,
  184. `type` int(10) unsigned DEFAULT NULL,
  185. `reported` tinyint(1) DEFAULT NULL,
  186. `teacher_id` int(10) unsigned DEFAULT NULL,
  187. PRIMARY KEY (`id`),
  188. KEY `idx_issues_deleted_at` (`deleted_at`)
  189. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  190. /*!40101 SET character_set_client = @saved_cs_client */;
  191. --
  192. -- Dumping data for table `issues`
  193. --
  194. LOCK TABLES `issues` WRITE;
  195. /*!40000 ALTER TABLE `issues` DISABLE KEYS */;
  196. /*!40000 ALTER TABLE `issues` ENABLE KEYS */;
  197. UNLOCK TABLES;
  198. --
  199. -- Table structure for table `schools`
  200. --
  201. DROP TABLE IF EXISTS `schools`;
  202. /*!40101 SET @saved_cs_client = @@character_set_client */;
  203. /*!40101 SET character_set_client = utf8 */;
  204. CREATE TABLE `schools` (
  205. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  206. `created_at` timestamp NULL DEFAULT NULL,
  207. `updated_at` timestamp NULL DEFAULT NULL,
  208. `deleted_at` timestamp NULL DEFAULT NULL,
  209. `name` varchar(255) DEFAULT NULL,
  210. `address` varchar(255) DEFAULT NULL,
  211. `domain` varchar(255) DEFAULT NULL,
  212. PRIMARY KEY (`id`),
  213. KEY `idx_schools_deleted_at` (`deleted_at`)
  214. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  215. /*!40101 SET character_set_client = @saved_cs_client */;
  216. --
  217. -- Dumping data for table `schools`
  218. --
  219. LOCK TABLES `schools` WRITE;
  220. /*!40000 ALTER TABLE `schools` DISABLE KEYS */;
  221. INSERT INTO `schools` VALUES (1,'2018-08-24 17:19:56','2018-08-24 17:19:56',NULL,'Scuola media inferiore \"Leonardo da Vinci\"','via Castroneria 4, Perlizzi (TN)','scuolamediadavinci.gov.it');
  222. /*!40000 ALTER TABLE `schools` ENABLE KEYS */;
  223. UNLOCK TABLES;
  224. --
  225. -- Table structure for table `students`
  226. --
  227. DROP TABLE IF EXISTS `students`;
  228. /*!40101 SET @saved_cs_client = @@character_set_client */;
  229. /*!40101 SET character_set_client = utf8 */;
  230. CREATE TABLE `students` (
  231. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  232. `created_at` timestamp NULL DEFAULT NULL,
  233. `updated_at` timestamp NULL DEFAULT NULL,
  234. `deleted_at` timestamp NULL DEFAULT NULL,
  235. `name` varchar(255) DEFAULT NULL,
  236. `surname` varchar(255) DEFAULT NULL,
  237. `username` varchar(255) DEFAULT NULL,
  238. `password` varchar(255) DEFAULT NULL,
  239. `email` varchar(255) DEFAULT NULL,
  240. `telephone_number` varchar(255) DEFAULT NULL,
  241. `plain_password` varchar(255) DEFAULT NULL,
  242. `class_id` int(10) unsigned DEFAULT NULL,
  243. PRIMARY KEY (`id`),
  244. KEY `idx_students_deleted_at` (`deleted_at`)
  245. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  246. /*!40101 SET character_set_client = @saved_cs_client */;
  247. --
  248. -- Dumping data for table `students`
  249. --
  250. LOCK TABLES `students` WRITE;
  251. /*!40000 ALTER TABLE `students` DISABLE KEYS */;
  252. INSERT INTO `students` VALUES (1,'2018-09-18 09:12:14','2018-09-18 09:41:15',NULL,'Mario','ROSSI','','','','','',1),(2,'2018-09-18 09:29:07','2018-09-18 09:40:41',NULL,'Francesco','CONTINO','','','','','',1);
  253. /*!40000 ALTER TABLE `students` ENABLE KEYS */;
  254. UNLOCK TABLES;
  255. --
  256. -- Table structure for table `subjects`
  257. --
  258. DROP TABLE IF EXISTS `subjects`;
  259. /*!40101 SET @saved_cs_client = @@character_set_client */;
  260. /*!40101 SET character_set_client = utf8 */;
  261. CREATE TABLE `subjects` (
  262. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  263. `created_at` timestamp NULL DEFAULT NULL,
  264. `updated_at` timestamp NULL DEFAULT NULL,
  265. `deleted_at` timestamp NULL DEFAULT NULL,
  266. `name` varchar(255) DEFAULT NULL,
  267. `department_id` int(10) unsigned DEFAULT NULL,
  268. PRIMARY KEY (`id`),
  269. KEY `idx_subjects_deleted_at` (`deleted_at`)
  270. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
  271. /*!40101 SET character_set_client = @saved_cs_client */;
  272. --
  273. -- Dumping data for table `subjects`
  274. --
  275. LOCK TABLES `subjects` WRITE;
  276. /*!40000 ALTER TABLE `subjects` DISABLE KEYS */;
  277. INSERT INTO `subjects` VALUES (1,'2018-08-24 17:09:21','2018-08-24 17:09:21',NULL,'MATEMATICA',0),(2,'2018-08-24 17:09:35','2018-08-24 17:09:35',NULL,'ITALIANO',0),(3,'2018-08-24 17:09:44','2018-08-24 17:09:44',NULL,'INGLESE',0),(4,'2018-08-24 17:21:29','2018-08-24 17:21:29',NULL,'STORIA DELL\'ARTE',0),(5,'2018-08-24 17:21:44','2018-08-24 17:21:44',NULL,'SCIENZE',0),(6,'2018-08-24 17:21:59','2018-08-24 17:21:59',NULL,'RELIGIONE',0),(7,'2018-08-24 17:22:31','2018-09-13 16:52:35',NULL,'FRANCESE',1),(8,'2018-08-24 17:23:19','2018-08-24 17:23:19',NULL,'STORIA',0),(9,'2018-08-24 17:23:33','2018-08-24 17:23:33',NULL,'TECNOLOGIA',0),(10,'2018-09-18 09:20:52','2018-09-18 09:20:52',NULL,'SOSTEGNO',4);
  278. /*!40000 ALTER TABLE `subjects` ENABLE KEYS */;
  279. UNLOCK TABLES;
  280. --
  281. -- Table structure for table `teacher_classes`
  282. --
  283. DROP TABLE IF EXISTS `teacher_classes`;
  284. /*!40101 SET @saved_cs_client = @@character_set_client */;
  285. /*!40101 SET character_set_client = utf8 */;
  286. CREATE TABLE `teacher_classes` (
  287. `teacher_id` int(10) unsigned NOT NULL,
  288. `class_id` int(10) unsigned NOT NULL,
  289. PRIMARY KEY (`teacher_id`,`class_id`)
  290. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  291. /*!40101 SET character_set_client = @saved_cs_client */;
  292. --
  293. -- Dumping data for table `teacher_classes`
  294. --
  295. LOCK TABLES `teacher_classes` WRITE;
  296. /*!40000 ALTER TABLE `teacher_classes` DISABLE KEYS */;
  297. INSERT INTO `teacher_classes` VALUES (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1);
  298. /*!40000 ALTER TABLE `teacher_classes` ENABLE KEYS */;
  299. UNLOCK TABLES;
  300. --
  301. -- Table structure for table `teacher_subjects`
  302. --
  303. DROP TABLE IF EXISTS `teacher_subjects`;
  304. /*!40101 SET @saved_cs_client = @@character_set_client */;
  305. /*!40101 SET character_set_client = utf8 */;
  306. CREATE TABLE `teacher_subjects` (
  307. `subject_id` int(10) unsigned NOT NULL,
  308. `teacher_id` int(10) unsigned NOT NULL,
  309. PRIMARY KEY (`subject_id`,`teacher_id`)
  310. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  311. /*!40101 SET character_set_client = @saved_cs_client */;
  312. --
  313. -- Dumping data for table `teacher_subjects`
  314. --
  315. LOCK TABLES `teacher_subjects` WRITE;
  316. /*!40000 ALTER TABLE `teacher_subjects` DISABLE KEYS */;
  317. INSERT INTO `teacher_subjects` VALUES (1,1),(2,3),(3,2),(4,5),(5,8),(6,9),(7,7),(8,6),(9,4);
  318. /*!40000 ALTER TABLE `teacher_subjects` ENABLE KEYS */;
  319. UNLOCK TABLES;
  320. --
  321. -- Table structure for table `teachers`
  322. --
  323. DROP TABLE IF EXISTS `teachers`;
  324. /*!40101 SET @saved_cs_client = @@character_set_client */;
  325. /*!40101 SET character_set_client = utf8 */;
  326. CREATE TABLE `teachers` (
  327. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  328. `created_at` timestamp NULL DEFAULT NULL,
  329. `updated_at` timestamp NULL DEFAULT NULL,
  330. `deleted_at` timestamp NULL DEFAULT NULL,
  331. `name` varchar(255) DEFAULT NULL,
  332. `surname` varchar(255) DEFAULT NULL,
  333. `username` varchar(255) DEFAULT NULL,
  334. `password` varchar(255) DEFAULT NULL,
  335. `email` varchar(255) DEFAULT NULL,
  336. `telephone_number` varchar(255) DEFAULT NULL,
  337. `hours` int(11) DEFAULT NULL,
  338. `curr_hours` int(11) DEFAULT NULL,
  339. `the_boss_id` int(10) unsigned DEFAULT NULL,
  340. `plain_password` varchar(255) DEFAULT NULL,
  341. PRIMARY KEY (`id`),
  342. KEY `idx_teachers_deleted_at` (`deleted_at`)
  343. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
  344. /*!40101 SET character_set_client = @saved_cs_client */;
  345. --
  346. -- Dumping data for table `teachers`
  347. --
  348. LOCK TABLES `teachers` WRITE;
  349. /*!40000 ALTER TABLE `teachers` DISABLE KEYS */;
  350. INSERT INTO `teachers` VALUES (1,'2018-08-24 17:06:38','2018-08-24 17:17:22',NULL,'Amilcare','AGOSTINO','amilcare.agostino','TpbbDZmSdjzOzEcm5797h2TXY/hzYWx0','amilcare.agostino@foo.org','',18,2,0,NULL),(2,'2018-08-24 17:06:58','2018-08-24 17:18:01',NULL,'Assuntina','DONADONI','assuntina.donadoni','Fi28Y8Q76pqz3ggoAuXvMNliew9zYWx0','assuntina.donadoni@foo.org','',18,2,0,NULL),(3,'2018-08-24 17:07:14','2018-08-24 17:18:26',NULL,'Costanza','LUNGA','costanza.lunga','//XInIkvIeMYj0+x9AsabCyA8zVzYWx0','costanza.lunga@foo.org','',18,5,0,NULL),(4,'2018-08-24 17:07:28','2018-08-24 17:24:20',NULL,'Giacomo','DEL BEN','giacomo.delben','TTdp/vYL+NjgJZTErlceSVwCa1lzYWx0','giacomo.delben@foo.org','',18,2,0,NULL),(5,'2018-08-24 17:07:51','2018-08-24 17:23:58',NULL,'Giorgio','ARISTI','giorgio.aristi','bbtj5tK+TSBKd38G/zHK6TUo0JZzYWx0','giorgio.aristi@foo.org','',18,2,0,NULL),(6,'2018-08-24 17:08:12','2018-08-24 17:25:44',NULL,'Vittoria','GIRONI','vittoria.gironi','jS5M30Y9d5JUsyXSfxU1Vz4Tmc1zYWx0','vittoria.gironi@foo.org','',18,2,0,NULL),(7,'2018-08-24 17:08:33','2018-08-24 17:24:41',NULL,'Francesco','DELLE ROSE','francesco.dellerose','9HakZF2Oh1vZy+8J/doqR1Jpr/lzYWx0','francesco.dellerose@foo.org','',18,2,0,NULL),(8,'2018-08-24 17:08:51','2018-08-24 17:26:15',NULL,'Andrea','PETRUZZELLI','andrea.petruzzelli','enbmvOYnUs/2IkttlR90h3oJC9dzYWx0','andrea.petruzzelli@foo.org','',18,2,0,NULL),(9,'2018-08-24 17:09:07','2018-08-24 17:25:13',NULL,'Piero','FRANCESCHINI','piero.franceschini','eGAGAG9etZ+rehwW0A/KRWt/7CFzYWx0','piero.franceschini@foo.org','',18,2,0,NULL),(10,'2018-09-18 09:20:32','2018-09-18 09:20:32',NULL,'Pierpaolo','ULCINO','','','','',18,0,NULL,''),(11,'2018-09-18 09:27:15','2018-09-18 09:27:15',NULL,'Nicoletta','MARTINO','','','','',18,0,NULL,'');
  351. /*!40000 ALTER TABLE `teachers` ENABLE KEYS */;
  352. UNLOCK TABLES;
  353. --
  354. -- Table structure for table `the_bosses`
  355. --
  356. DROP TABLE IF EXISTS `the_bosses`;
  357. /*!40101 SET @saved_cs_client = @@character_set_client */;
  358. /*!40101 SET character_set_client = utf8 */;
  359. CREATE TABLE `the_bosses` (
  360. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  361. `created_at` timestamp NULL DEFAULT NULL,
  362. `updated_at` timestamp NULL DEFAULT NULL,
  363. `deleted_at` timestamp NULL DEFAULT NULL,
  364. `name` varchar(255) DEFAULT NULL,
  365. `surname` varchar(255) DEFAULT NULL,
  366. `username` varchar(255) DEFAULT NULL,
  367. `password` varchar(255) DEFAULT NULL,
  368. `email` varchar(255) DEFAULT NULL,
  369. `telephone_number` varchar(255) DEFAULT NULL,
  370. PRIMARY KEY (`id`),
  371. KEY `idx_the_bosses_deleted_at` (`deleted_at`)
  372. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  373. /*!40101 SET character_set_client = @saved_cs_client */;
  374. --
  375. -- Dumping data for table `the_bosses`
  376. --
  377. LOCK TABLES `the_bosses` WRITE;
  378. /*!40000 ALTER TABLE `the_bosses` DISABLE KEYS */;
  379. /*!40000 ALTER TABLE `the_bosses` ENABLE KEYS */;
  380. UNLOCK TABLES;
  381. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  382. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  383. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  384. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  385. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  386. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  387. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  388. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  389. -- Dump completed on 2018-09-18 10:15:07