karmen_test.sql 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  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. PRIMARY KEY (`id`),
  33. KEY `idx_activities_deleted_at` (`deleted_at`)
  34. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
  35. /*!40101 SET character_set_client = @saved_cs_client */;
  36. --
  37. -- Dumping data for table `activities`
  38. --
  39. LOCK TABLES `activities` WRITE;
  40. /*!40000 ALTER TABLE `activities` DISABLE KEYS */;
  41. 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),(2,'2018-08-24 17:18:01','2018-08-24 17:18:01',NULL,'1 A INGLESE 2h',1,2,3,2),(3,'2018-08-24 17:18:26','2018-08-24 17:18:26',NULL,'1 A ITALIANO 5h',1,3,2,5),(4,'2018-08-24 17:23:58','2018-08-24 17:23:58',NULL,'1 A STORIA DELL\'ARTE 2h',1,5,4,2),(5,'2018-08-24 17:24:20','2018-08-24 17:24:20',NULL,'1 A TECNOLOGIA 2h',1,4,9,2),(6,'2018-08-24 17:24:41','2018-08-24 17:24:41',NULL,'1 A FRANCESE 2h',1,7,7,2),(7,'2018-08-24 17:25:13','2018-08-24 17:25:13',NULL,'1 A RELIGIONE 2h',1,9,6,2),(8,'2018-08-24 17:25:44','2018-08-24 17:25:44',NULL,'1 A STORIA 2h',1,6,8,2),(9,'2018-08-24 17:26:15','2018-08-24 17:26:15',NULL,'1 A SCIENZE 2h',1,8,5,2);
  42. /*!40000 ALTER TABLE `activities` ENABLE KEYS */;
  43. UNLOCK TABLES;
  44. --
  45. -- Table structure for table `administratives`
  46. --
  47. DROP TABLE IF EXISTS `administratives`;
  48. /*!40101 SET @saved_cs_client = @@character_set_client */;
  49. /*!40101 SET character_set_client = utf8 */;
  50. CREATE TABLE `administratives` (
  51. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  52. `created_at` timestamp NULL DEFAULT NULL,
  53. `updated_at` timestamp NULL DEFAULT NULL,
  54. `deleted_at` timestamp NULL DEFAULT NULL,
  55. `name` varchar(255) DEFAULT NULL,
  56. `surname` varchar(255) DEFAULT NULL,
  57. `username` varchar(255) DEFAULT NULL,
  58. `password` varchar(255) DEFAULT NULL,
  59. `email` varchar(255) DEFAULT NULL,
  60. `telephone_number` varchar(255) DEFAULT NULL,
  61. `role` int(11) DEFAULT NULL,
  62. PRIMARY KEY (`id`),
  63. KEY `idx_administratives_deleted_at` (`deleted_at`)
  64. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  65. /*!40101 SET character_set_client = @saved_cs_client */;
  66. --
  67. -- Dumping data for table `administratives`
  68. --
  69. LOCK TABLES `administratives` WRITE;
  70. /*!40000 ALTER TABLE `administratives` DISABLE KEYS */;
  71. /*!40000 ALTER TABLE `administratives` ENABLE KEYS */;
  72. UNLOCK TABLES;
  73. --
  74. -- Table structure for table `classes`
  75. --
  76. DROP TABLE IF EXISTS `classes`;
  77. /*!40101 SET @saved_cs_client = @@character_set_client */;
  78. /*!40101 SET character_set_client = utf8 */;
  79. CREATE TABLE `classes` (
  80. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  81. `created_at` timestamp NULL DEFAULT NULL,
  82. `updated_at` timestamp NULL DEFAULT NULL,
  83. `deleted_at` timestamp NULL DEFAULT NULL,
  84. `name` varchar(255) DEFAULT NULL,
  85. `coordinator_id` int(10) unsigned DEFAULT NULL,
  86. `minuter_id` int(10) unsigned DEFAULT NULL,
  87. PRIMARY KEY (`id`),
  88. KEY `idx_classes_deleted_at` (`deleted_at`)
  89. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1;
  90. /*!40101 SET character_set_client = @saved_cs_client */;
  91. --
  92. -- Dumping data for table `classes`
  93. --
  94. LOCK TABLES `classes` WRITE;
  95. /*!40000 ALTER TABLE `classes` DISABLE KEYS */;
  96. 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);
  97. /*!40000 ALTER TABLE `classes` ENABLE KEYS */;
  98. UNLOCK TABLES;
  99. --
  100. -- Table structure for table `department_teachers`
  101. --
  102. DROP TABLE IF EXISTS `department_teachers`;
  103. /*!40101 SET @saved_cs_client = @@character_set_client */;
  104. /*!40101 SET character_set_client = utf8 */;
  105. CREATE TABLE `department_teachers` (
  106. `department_id` int(10) unsigned NOT NULL,
  107. `teacher_id` int(10) unsigned NOT NULL,
  108. PRIMARY KEY (`department_id`,`teacher_id`)
  109. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  110. /*!40101 SET character_set_client = @saved_cs_client */;
  111. --
  112. -- Dumping data for table `department_teachers`
  113. --
  114. LOCK TABLES `department_teachers` WRITE;
  115. /*!40000 ALTER TABLE `department_teachers` DISABLE KEYS */;
  116. /*!40000 ALTER TABLE `department_teachers` ENABLE KEYS */;
  117. UNLOCK TABLES;
  118. --
  119. -- Table structure for table `departments`
  120. --
  121. DROP TABLE IF EXISTS `departments`;
  122. /*!40101 SET @saved_cs_client = @@character_set_client */;
  123. /*!40101 SET character_set_client = utf8 */;
  124. CREATE TABLE `departments` (
  125. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  126. `created_at` timestamp NULL DEFAULT NULL,
  127. `updated_at` timestamp NULL DEFAULT NULL,
  128. `deleted_at` timestamp NULL DEFAULT NULL,
  129. `name` varchar(255) DEFAULT NULL,
  130. PRIMARY KEY (`id`),
  131. KEY `idx_departments_deleted_at` (`deleted_at`)
  132. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  133. /*!40101 SET character_set_client = @saved_cs_client */;
  134. --
  135. -- Dumping data for table `departments`
  136. --
  137. LOCK TABLES `departments` WRITE;
  138. /*!40000 ALTER TABLE `departments` DISABLE KEYS */;
  139. /*!40000 ALTER TABLE `departments` ENABLE KEYS */;
  140. UNLOCK TABLES;
  141. --
  142. -- Table structure for table `directors`
  143. --
  144. DROP TABLE IF EXISTS `directors`;
  145. /*!40101 SET @saved_cs_client = @@character_set_client */;
  146. /*!40101 SET character_set_client = utf8 */;
  147. CREATE TABLE `directors` (
  148. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  149. `created_at` timestamp NULL DEFAULT NULL,
  150. `updated_at` timestamp NULL DEFAULT NULL,
  151. `deleted_at` timestamp NULL DEFAULT NULL,
  152. `name` varchar(255) DEFAULT NULL,
  153. `surname` varchar(255) DEFAULT NULL,
  154. `username` varchar(255) DEFAULT NULL,
  155. `password` varchar(255) DEFAULT NULL,
  156. `email` varchar(255) DEFAULT NULL,
  157. `telephone_number` varchar(255) DEFAULT NULL,
  158. PRIMARY KEY (`id`),
  159. KEY `idx_directors_deleted_at` (`deleted_at`)
  160. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  161. /*!40101 SET character_set_client = @saved_cs_client */;
  162. --
  163. -- Dumping data for table `directors`
  164. --
  165. LOCK TABLES `directors` WRITE;
  166. /*!40000 ALTER TABLE `directors` DISABLE KEYS */;
  167. /*!40000 ALTER TABLE `directors` ENABLE KEYS */;
  168. UNLOCK TABLES;
  169. --
  170. -- Table structure for table `issues`
  171. --
  172. DROP TABLE IF EXISTS `issues`;
  173. /*!40101 SET @saved_cs_client = @@character_set_client */;
  174. /*!40101 SET character_set_client = utf8 */;
  175. CREATE TABLE `issues` (
  176. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  177. `created_at` timestamp NULL DEFAULT NULL,
  178. `updated_at` timestamp NULL DEFAULT NULL,
  179. `deleted_at` timestamp NULL DEFAULT NULL,
  180. `description` varchar(255) DEFAULT NULL,
  181. `type` int(10) unsigned DEFAULT NULL,
  182. `reported` tinyint(1) DEFAULT NULL,
  183. `teacher_id` int(10) unsigned DEFAULT NULL,
  184. PRIMARY KEY (`id`),
  185. KEY `idx_issues_deleted_at` (`deleted_at`)
  186. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  187. /*!40101 SET character_set_client = @saved_cs_client */;
  188. --
  189. -- Dumping data for table `issues`
  190. --
  191. LOCK TABLES `issues` WRITE;
  192. /*!40000 ALTER TABLE `issues` DISABLE KEYS */;
  193. /*!40000 ALTER TABLE `issues` ENABLE KEYS */;
  194. UNLOCK TABLES;
  195. --
  196. -- Table structure for table `schools`
  197. --
  198. DROP TABLE IF EXISTS `schools`;
  199. /*!40101 SET @saved_cs_client = @@character_set_client */;
  200. /*!40101 SET character_set_client = utf8 */;
  201. CREATE TABLE `schools` (
  202. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  203. `created_at` timestamp NULL DEFAULT NULL,
  204. `updated_at` timestamp NULL DEFAULT NULL,
  205. `deleted_at` timestamp NULL DEFAULT NULL,
  206. `name` varchar(255) DEFAULT NULL,
  207. `address` varchar(255) DEFAULT NULL,
  208. `domain` varchar(255) DEFAULT NULL,
  209. PRIMARY KEY (`id`),
  210. KEY `idx_schools_deleted_at` (`deleted_at`)
  211. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
  212. /*!40101 SET character_set_client = @saved_cs_client */;
  213. --
  214. -- Dumping data for table `schools`
  215. --
  216. LOCK TABLES `schools` WRITE;
  217. /*!40000 ALTER TABLE `schools` DISABLE KEYS */;
  218. 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');
  219. /*!40000 ALTER TABLE `schools` ENABLE KEYS */;
  220. UNLOCK TABLES;
  221. --
  222. -- Table structure for table `students`
  223. --
  224. DROP TABLE IF EXISTS `students`;
  225. /*!40101 SET @saved_cs_client = @@character_set_client */;
  226. /*!40101 SET character_set_client = utf8 */;
  227. CREATE TABLE `students` (
  228. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  229. `created_at` timestamp NULL DEFAULT NULL,
  230. `updated_at` timestamp NULL DEFAULT NULL,
  231. `deleted_at` timestamp NULL DEFAULT NULL,
  232. `name` varchar(255) DEFAULT NULL,
  233. `surname` varchar(255) DEFAULT NULL,
  234. `username` varchar(255) DEFAULT NULL,
  235. `password` varchar(255) DEFAULT NULL,
  236. `email` varchar(255) DEFAULT NULL,
  237. `telephone_number` varchar(255) DEFAULT NULL,
  238. PRIMARY KEY (`id`),
  239. KEY `idx_students_deleted_at` (`deleted_at`)
  240. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  241. /*!40101 SET character_set_client = @saved_cs_client */;
  242. --
  243. -- Dumping data for table `students`
  244. --
  245. LOCK TABLES `students` WRITE;
  246. /*!40000 ALTER TABLE `students` DISABLE KEYS */;
  247. /*!40000 ALTER TABLE `students` ENABLE KEYS */;
  248. UNLOCK TABLES;
  249. --
  250. -- Table structure for table `subjects`
  251. --
  252. DROP TABLE IF EXISTS `subjects`;
  253. /*!40101 SET @saved_cs_client = @@character_set_client */;
  254. /*!40101 SET character_set_client = utf8 */;
  255. CREATE TABLE `subjects` (
  256. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  257. `created_at` timestamp NULL DEFAULT NULL,
  258. `updated_at` timestamp NULL DEFAULT NULL,
  259. `deleted_at` timestamp NULL DEFAULT NULL,
  260. `name` varchar(255) DEFAULT NULL,
  261. `department_id` int(10) unsigned DEFAULT NULL,
  262. PRIMARY KEY (`id`),
  263. KEY `idx_subjects_deleted_at` (`deleted_at`)
  264. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
  265. /*!40101 SET character_set_client = @saved_cs_client */;
  266. --
  267. -- Dumping data for table `subjects`
  268. --
  269. LOCK TABLES `subjects` WRITE;
  270. /*!40000 ALTER TABLE `subjects` DISABLE KEYS */;
  271. 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-08-24 17:22:31',NULL,'FRANCESE',0),(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);
  272. /*!40000 ALTER TABLE `subjects` ENABLE KEYS */;
  273. UNLOCK TABLES;
  274. --
  275. -- Table structure for table `teacher_classes`
  276. --
  277. DROP TABLE IF EXISTS `teacher_classes`;
  278. /*!40101 SET @saved_cs_client = @@character_set_client */;
  279. /*!40101 SET character_set_client = utf8 */;
  280. CREATE TABLE `teacher_classes` (
  281. `teacher_id` int(10) unsigned NOT NULL,
  282. `class_id` int(10) unsigned NOT NULL,
  283. PRIMARY KEY (`teacher_id`,`class_id`)
  284. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  285. /*!40101 SET character_set_client = @saved_cs_client */;
  286. --
  287. -- Dumping data for table `teacher_classes`
  288. --
  289. LOCK TABLES `teacher_classes` WRITE;
  290. /*!40000 ALTER TABLE `teacher_classes` DISABLE KEYS */;
  291. INSERT INTO `teacher_classes` VALUES (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1);
  292. /*!40000 ALTER TABLE `teacher_classes` ENABLE KEYS */;
  293. UNLOCK TABLES;
  294. --
  295. -- Table structure for table `teacher_subjects`
  296. --
  297. DROP TABLE IF EXISTS `teacher_subjects`;
  298. /*!40101 SET @saved_cs_client = @@character_set_client */;
  299. /*!40101 SET character_set_client = utf8 */;
  300. CREATE TABLE `teacher_subjects` (
  301. `subject_id` int(10) unsigned NOT NULL,
  302. `teacher_id` int(10) unsigned NOT NULL,
  303. PRIMARY KEY (`subject_id`,`teacher_id`)
  304. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  305. /*!40101 SET character_set_client = @saved_cs_client */;
  306. --
  307. -- Dumping data for table `teacher_subjects`
  308. --
  309. LOCK TABLES `teacher_subjects` WRITE;
  310. /*!40000 ALTER TABLE `teacher_subjects` DISABLE KEYS */;
  311. INSERT INTO `teacher_subjects` VALUES (1,1),(2,3),(3,2),(4,5),(5,8),(6,9),(7,7),(8,6),(9,4);
  312. /*!40000 ALTER TABLE `teacher_subjects` ENABLE KEYS */;
  313. UNLOCK TABLES;
  314. --
  315. -- Table structure for table `teachers`
  316. --
  317. DROP TABLE IF EXISTS `teachers`;
  318. /*!40101 SET @saved_cs_client = @@character_set_client */;
  319. /*!40101 SET character_set_client = utf8 */;
  320. CREATE TABLE `teachers` (
  321. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  322. `created_at` timestamp NULL DEFAULT NULL,
  323. `updated_at` timestamp NULL DEFAULT NULL,
  324. `deleted_at` timestamp NULL DEFAULT NULL,
  325. `name` varchar(255) DEFAULT NULL,
  326. `surname` varchar(255) DEFAULT NULL,
  327. `username` varchar(255) DEFAULT NULL,
  328. `password` varchar(255) DEFAULT NULL,
  329. `email` varchar(255) DEFAULT NULL,
  330. `telephone_number` varchar(255) DEFAULT NULL,
  331. `hours` int(11) DEFAULT NULL,
  332. `curr_hours` int(11) DEFAULT NULL,
  333. `the_boss_id` int(10) unsigned DEFAULT NULL,
  334. PRIMARY KEY (`id`),
  335. KEY `idx_teachers_deleted_at` (`deleted_at`)
  336. ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
  337. /*!40101 SET character_set_client = @saved_cs_client */;
  338. --
  339. -- Dumping data for table `teachers`
  340. --
  341. LOCK TABLES `teachers` WRITE;
  342. /*!40000 ALTER TABLE `teachers` DISABLE KEYS */;
  343. 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),(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),(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),(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),(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),(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),(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),(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),(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);
  344. /*!40000 ALTER TABLE `teachers` ENABLE KEYS */;
  345. UNLOCK TABLES;
  346. --
  347. -- Table structure for table `the_bosses`
  348. --
  349. DROP TABLE IF EXISTS `the_bosses`;
  350. /*!40101 SET @saved_cs_client = @@character_set_client */;
  351. /*!40101 SET character_set_client = utf8 */;
  352. CREATE TABLE `the_bosses` (
  353. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  354. `created_at` timestamp NULL DEFAULT NULL,
  355. `updated_at` timestamp NULL DEFAULT NULL,
  356. `deleted_at` timestamp NULL DEFAULT NULL,
  357. `name` varchar(255) DEFAULT NULL,
  358. `surname` varchar(255) DEFAULT NULL,
  359. `username` varchar(255) DEFAULT NULL,
  360. `password` varchar(255) DEFAULT NULL,
  361. `email` varchar(255) DEFAULT NULL,
  362. `telephone_number` varchar(255) DEFAULT NULL,
  363. PRIMARY KEY (`id`),
  364. KEY `idx_the_bosses_deleted_at` (`deleted_at`)
  365. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  366. /*!40101 SET character_set_client = @saved_cs_client */;
  367. --
  368. -- Dumping data for table `the_bosses`
  369. --
  370. LOCK TABLES `the_bosses` WRITE;
  371. /*!40000 ALTER TABLE `the_bosses` DISABLE KEYS */;
  372. /*!40000 ALTER TABLE `the_bosses` ENABLE KEYS */;
  373. UNLOCK TABLES;
  374. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  375. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  376. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  377. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  378. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  379. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  380. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  381. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  382. -- Dump completed on 2018-08-24 18:49:02