text: -- MySQL dump 10.15  Distrib 10.0.29-MariaDB, for debian-linux-gnu (x86_64)
  --
  -- Host: 127.0.0.1    Database: 127.0.0.1
  -- ------------------------------------------------------
  -- Server version	10.0.29-MariaDB-0ubuntu0.16.04.1
  
  /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  /*!40101 SET NAMES utf8 */;
  /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  /*!40103 SET TIME_ZONE='+00:00' */;
  /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  
  --
  -- Table structure for table `cathedras`
  --
  
  DROP TABLE IF EXISTS `cathedras`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `cathedras` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `cathedras`
  --
  
  LOCK TABLES `cathedras` WRITE;
  /*!40000 ALTER TABLE `cathedras` DISABLE KEYS */;
  INSERT INTO `cathedras` VALUES (1,'Кафедра  Естественно-научных дициплин','2018-04-30 07:16:31','2018-04-30 07:16:31'),(2,'Кафедра Програмного обеспечения информационнных систем','2018-04-30 11:01:45','2018-04-30 11:01:45'),(3,'Кафедра Радиоэлектроники и телекомуникаций','2018-04-30 11:02:14','2018-04-30 11:02:14');
  /*!40000 ALTER TABLE `cathedras` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `faculties`
  --
  
  DROP TABLE IF EXISTS `faculties`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `faculties` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(191) COLLATE utf8mb4_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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `faculties`
  --
  
  LOCK TABLES `faculties` WRITE;
  /*!40000 ALTER TABLE `faculties` DISABLE KEYS */;
  INSERT INTO `faculties` VALUES (1,'Технический факультет','2018-04-30 06:57:51','2018-04-30 06:57:51');
  /*!40000 ALTER TABLE `faculties` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `groups`
  --
  
  DROP TABLE IF EXISTS `groups`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `groups` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    `specialty` int(11) NOT NULL,
    `date_arrival` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `group_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `semester` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `groups`
  --
  
  LOCK TABLES `groups` WRITE;
  /*!40000 ALTER TABLE `groups` DISABLE KEYS */;
  INSERT INTO `groups` VALUES (2,'Информационные системы-2018-01','2018-05-01 06:21:27','2018-05-01 06:21:27',1,'2018','01','1'),(3,'Информационные системы-2018-01(курс-1)','2018-05-01 06:33:57','2018-05-01 06:33:57',1,'2018','01','1'),(4,'Информационные системы-2018-01(курс-4)','2018-05-01 06:34:06','2018-05-01 06:34:06',1,'2018','01','8');
  /*!40000 ALTER TABLE `groups` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `migrations`
  --
  
  DROP TABLE IF EXISTS `migrations`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `migrations` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `batch` int(11) NOT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `migrations`
  --
  
  LOCK TABLES `migrations` WRITE;
  /*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
  INSERT INTO `migrations` VALUES (1,'2014_10_12_000000_create_users_table',1),(2,'2014_10_12_100000_create_password_resets_table',1),(3,'2018_04_30_104351_create_faculties_table',1),(4,'2018_04_30_104414_create_cathedras_table',1),(5,'2018_04_30_104427_create_subkects_table',1),(6,'2018_04_30_104447_create_specialties_table',1),(7,'2018_04_30_104504_create_groups_table',1),(8,'2018_04_30_182735_create_specialty_subjects_table',2),(10,'2018_05_01_115929_create_specialty_date_number_columns',3);
  /*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `password_resets`
  --
  
  DROP TABLE IF EXISTS `password_resets`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `password_resets` (
    `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    KEY `password_resets_email_index` (`email`)
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `password_resets`
  --
  
  LOCK TABLES `password_resets` WRITE;
  /*!40000 ALTER TABLE `password_resets` DISABLE KEYS */;
  /*!40000 ALTER TABLE `password_resets` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `specialties`
  --
  
  DROP TABLE IF EXISTS `specialties`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `specialties` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(191) COLLATE utf8mb4_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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `specialties`
  --
  
  LOCK TABLES `specialties` WRITE;
  /*!40000 ALTER TABLE `specialties` DISABLE KEYS */;
  INSERT INTO `specialties` VALUES (1,'Информационные системы','2018-04-30 12:05:46','2018-04-30 12:05:46'),(2,'Радиотехника, электроника и телекоммуникации','2018-04-30 12:06:32','2018-04-30 12:06:32');
  /*!40000 ALTER TABLE `specialties` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `specialty_subjects`
  --
  
  DROP TABLE IF EXISTS `specialty_subjects`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `specialty_subjects` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `subject` int(11) NOT NULL,
    `specialty` int(11) NOT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`)
  ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `specialty_subjects`
  --
  
  LOCK TABLES `specialty_subjects` WRITE;
  /*!40000 ALTER TABLE `specialty_subjects` DISABLE KEYS */;
  INSERT INTO `specialty_subjects` VALUES (1,1,1,NULL,NULL),(2,2,1,NULL,NULL),(3,2,2,NULL,NULL);
  /*!40000 ALTER TABLE `specialty_subjects` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `subjects`
  --
  
  DROP TABLE IF EXISTS `subjects`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `subjects` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `title` varchar(191) COLLATE utf8mb4_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=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `subjects`
  --
  
  LOCK TABLES `subjects` WRITE;
  /*!40000 ALTER TABLE `subjects` DISABLE KEYS */;
  INSERT INTO `subjects` VALUES (1,'Объектно Ориентированные программирования','2018-04-30 11:54:13','2018-04-30 11:54:13'),(2,'Радиотехника','2018-04-30 11:55:18','2018-04-30 11:55:18');
  /*!40000 ALTER TABLE `subjects` ENABLE KEYS */;
  UNLOCK TABLES;
  
  --
  -- Table structure for table `users`
  --
  
  DROP TABLE IF EXISTS `users`;
  /*!40101 SET @saved_cs_client     = @@character_set_client */;
  /*!40101 SET character_set_client = utf8 */;
  CREATE TABLE `users` (
    `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
    `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `uniqid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
    `group_id` int(11) NOT NULL DEFAULT '0',
    `type_id` int(11) NOT NULL DEFAULT '1',
    `remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
    `created_at` timestamp NULL DEFAULT NULL,
    `updated_at` timestamp NULL DEFAULT NULL,
    PRIMARY KEY (`id`),
    UNIQUE KEY `users_uniqid_unique` (`uniqid`)
  ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
  /*!40101 SET character_set_client = @saved_cs_client */;
  
  --
  -- Dumping data for table `users`
  --
  
  LOCK TABLES `users` WRITE;
  /*!40000 ALTER TABLE `users` DISABLE KEYS */;
  INSERT INTO `users` VALUES (1,'Администратор','adminmvd','$2y$10$w2MRXbVB9gUrabx19IHLKuTt2jDuEU2RCp/MZmDv.c8EKdpC4B9mO',0,1,NULL,'2018-04-30 05:33:07','2018-04-30 05:33:07');
  /*!40000 ALTER TABLE `users` ENABLE KEYS */;
  UNLOCK TABLES;
  /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  
  /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  
  -- Dump completed on 2018-05-01 19:59:12
  