edms/02022022.sql

1143 lines
90 KiB
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- MySQL dump 10.13 Distrib 8.0.27, for Linux (x86_64)
--
-- Host: localhost Database: edms
-- ------------------------------------------------------
-- Server version 8.0.27-0ubuntu0.20.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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!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 `absents`
--
DROP TABLE IF EXISTS `absents`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `absents` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL DEFAULT '0',
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `absents`
--
LOCK TABLES `absents` WRITE;
/*!40000 ALTER TABLE `absents` DISABLE KEYS */;
/*!40000 ALTER TABLE `absents` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `admins`
--
DROP TABLE IF EXISTS `admins`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admins` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(25) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`picture` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`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 `admins_email_unique` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admins`
--
LOCK TABLES `admins` WRITE;
/*!40000 ALTER TABLE `admins` DISABLE KEYS */;
INSERT INTO `admins` VALUES (1,'Admin','systemadmin','admin@gmail.com','admin/profile/23ece6e2ef473dc0c2a0bfcffd0b1128.png','$2y$10$V9Fy2bX0WYrcMZu/9upTw.wO/EbZ6ifzRfVPybHdaaDo7yrInoR/W',NULL,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `admins` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `assign_absences`
--
DROP TABLE IF EXISTS `assign_absences`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `assign_absences` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL,
`absent_id` int unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `assign_absences_user_id_unique` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `assign_absences`
--
LOCK TABLES `assign_absences` WRITE;
/*!40000 ALTER TABLE `assign_absences` DISABLE KEYS */;
/*!40000 ALTER TABLE `assign_absences` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `comments`
--
DROP TABLE IF EXISTS `comments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `comments` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`workflow_document_id` int unsigned NOT NULL,
`user_id` int unsigned NOT NULL,
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
`parent_id` bigint unsigned DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `comments`
--
LOCK TABLES `comments` WRITE;
/*!40000 ALTER TABLE `comments` DISABLE KEYS */;
INSERT INTO `comments` VALUES (1,4,1,'well done',NULL,'2021-12-27 06:39:37','2021-12-27 06:39:37'),(2,4,1,'amandjan name edyen',NULL,'2021-12-27 06:39:53','2021-12-27 06:39:53'),(3,4,1,'yadatdynay gadayjan, what the hell is that',NULL,'2021-12-27 06:40:11','2021-12-27 06:40:11'),(4,5,1,'sagjabol',NULL,'2021-12-27 06:45:43','2021-12-27 06:45:43'),(5,5,3,'welcome',NULL,'2021-12-27 06:46:05','2021-12-27 06:46:05'),(6,11,1,'kashdfkjah',NULL,'2022-01-02 17:18:27','2022-01-02 17:18:27');
/*!40000 ALTER TABLE `comments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `contacts`
--
DROP TABLE IF EXISTS `contacts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `contacts` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`organization_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`alternative_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`address` text COLLATE utf8mb4_unicode_ci,
`telephone_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`notes` text COLLATE utf8mb4_unicode_ci,
`status` tinyint unsigned NOT NULL DEFAULT '1',
`is_approved` tinyint unsigned NOT NULL DEFAULT '1',
`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 `contacts`
--
LOCK TABLES `contacts` WRITE;
/*!40000 ALTER TABLE `contacts` DISABLE KEYS */;
INSERT INTO `contacts` VALUES (1,'Organization AAA','AAA','adress A','101010',NULL,1,1,NULL,NULL),(2,'Organization BBB','BBB','adress B','202020',NULL,1,1,NULL,NULL);
/*!40000 ALTER TABLE `contacts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `delivery_types`
--
DROP TABLE IF EXISTS `delivery_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_types` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT 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 `delivery_types_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `delivery_types`
--
LOCK TABLES `delivery_types` WRITE;
/*!40000 ALTER TABLE `delivery_types` DISABLE KEYS */;
INSERT INTO `delivery_types` VALUES (1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',NULL,'2021-11-11 06:57:14',NULL),(2,'{\"en\":\"Electronic Email\", \"ru\":\"Электронная почта\", \"tm\":\"Elektron poçta\"}',NULL,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `delivery_types` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `departments`
--
DROP TABLE IF EXISTS `departments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `departments` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int unsigned NOT NULL DEFAULT '0',
`name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '0',
`responsible_user_id` int unsigned NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `departments`
--
LOCK TABLES `departments` WRITE;
/*!40000 ALTER TABLE `departments` DISABLE KEYS */;
INSERT INTO `departments` VALUES (1,0,'{\"en\":\"Assistant\", \"tm\":\"Kömekçi\", \"ru\":\"Помошник\"}',1,1,'2021-11-11 06:57:14',NULL),(2,0,'{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}',1,1,'2021-11-11 06:57:14',NULL),(3,0,'{\"en\":\"Department1\", \"tm\":\"Department1\", \"ru\":\"Department1\"}',1,1,'2021-11-11 06:57:14',NULL),(4,0,'{\"en\":\"Department2\", \"tm\":\"Department2\", \"ru\":\"Department2\"}',1,1,'2021-11-11 06:57:14',NULL),(5,0,'{\"en\":\"SubDepartment of Dep1\", \"tm\":\"SubDepartment of Dep1\", \"ru\":\"SubDepartment of Dep1\"}',1,1,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `departments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `document_types`
--
DROP TABLE IF EXISTS `document_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `document_types` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`incoming` tinyint(1) NOT NULL DEFAULT '0',
`outgoing` tinyint(1) NOT NULL DEFAULT '0',
`internal` tinyint(1) NOT NULL DEFAULT '0',
`description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT 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 `document_types`
--
LOCK TABLES `document_types` WRITE;
/*!40000 ALTER TABLE `document_types` DISABLE KEYS */;
INSERT INTO `document_types` VALUES (1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',1,1,1,'',1,'2021-11-11 06:57:14',NULL),(2,'{\"en\":\"Complaint Letter\", \"ru\":\"Письмо с жалобой\", \"tm\":\"Şikaýat haty\"}',1,1,1,'',1,'2021-11-11 06:57:14',NULL),(3,'{\"en\":\"All general Letter types\", \"ru\":\"Все типы документов\", \"tm\":\"Umumy hatlar\"}',1,1,1,'',1,'2021-11-11 06:57:14',NULL),(4,'{\"en\":\"Greeting Letter\", \"ru\":\"Поздравительные Письма\", \"tm\":\"Gutlag Hatlary\"}',1,1,1,'',1,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `document_types` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `events`
--
DROP TABLE IF EXISTS `events`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `events` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned DEFAULT NULL,
`title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`text` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`link` text COLLATE utf8mb4_unicode_ci NOT NULL,
`start_date_time` datetime DEFAULT NULL,
`end_date_time` datetime DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `events`
--
LOCK TABLES `events` WRITE;
/*!40000 ALTER TABLE `events` DISABLE KEYS */;
/*!40000 ALTER TABLE `events` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `languages`
--
DROP TABLE IF EXISTS `languages`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `languages` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`short_name` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`serial_no` int NOT NULL DEFAULT '0',
`status` tinyint unsigned NOT NULL DEFAULT '1',
`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 `languages`
--
LOCK TABLES `languages` WRITE;
/*!40000 ALTER TABLE `languages` DISABLE KEYS */;
INSERT INTO `languages` VALUES (1,'English','en',1,1,'2021-11-11 06:57:14',NULL),(2,'Русский','ru',4,1,'2021-11-11 06:57:14',NULL),(3,'Türkmençe','tm',2,1,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `languages` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `migrations`
--
DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `migrations` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`batch` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 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_100000_create_password_resets_table',1),(2,'2020_04_16_043659_create_admins_table',1),(3,'2020_04_16_094318_entrust_setup_tables',1),(4,'2021_03_06_101908_create_roles_table',1),(5,'2021_03_06_101918_create_users_table',1),(6,'2021_03_06_101938_create_role_user_table',1),(7,'2021_03_06_101956_create_permissions_table',1),(8,'2021_03_06_102003_create_permission_role_table',1),(9,'2021_03_08_060432_create_absents_table',1),(10,'2021_03_08_062621_create_assign_absences_table',1),(11,'2021_03_08_062758_create_contacts_table',1),(12,'2021_03_08_064800_create_delivery_types_table',1),(13,'2021_03_08_064825_create_departments_table',1),(15,'2021_03_08_071706_create_document_types_table',1),(16,'2021_03_08_071713_create_events_table',1),(17,'2021_03_08_071725_create_languages_table',1),(19,'2021_03_08_073302_create_priorities_table',1),(20,'2021_03_08_074528_create_promotions_table',1),(21,'2021_03_08_074601_create_settings_table',1),(22,'2021_03_08_081600_create_workflow_types_table',1),(24,'2021_03_08_081636_create_workflow_documents_table',1),(25,'2021_03_08_085553_create_workflow_document_files_table',1),(26,'2021_03_08_085605_create_workflow_document_process_table',1),(27,'2021_03_08_085617_create_workflow_document_senders_table',1),(28,'2021_03_08_085626_create_workflow_document_users_table',1),(29,'2021_03_22_151904_create_comments_table',1),(30,'2021_04_03_095730_create_reg_numbers_table',1),(31,'2021_04_03_120440_create_reg_number_seq_table',1),(32,'2021_04_09_121638_create_notifications_table',1),(33,'2021_08_05_005558_create_remote_contacts_table',1),(34,'2021_08_05_005646_create_remote_contact_apis_table',1),(35,'2021_08_05_005710_create_remote_transfers_table',1),(51,'2022_03_08_073216_create_my_files_table',2),(52,'2022_03_08_081633_create_shared_files_table',3);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `my_files`
--
DROP TABLE IF EXISTS `my_files`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `my_files` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`file_type` tinyint(1) NOT NULL DEFAULT '0',
`parent_id` int unsigned NOT NULL DEFAULT '0',
`year` int unsigned DEFAULT NULL,
`description` longtext COLLATE utf8mb4_unicode_ci,
`user_id` int unsigned NOT NULL,
`shared_user_id` int unsigned DEFAULT NULL,
`tags` longtext COLLATE utf8mb4_unicode_ci,
`name_org` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`path_to_root` text COLLATE utf8mb4_unicode_ci,
`place_of_the_file` text COLLATE utf8mb4_unicode_ci,
`is_temp` tinyint unsigned NOT NULL DEFAULT '1',
`file_size` double(10,5) NOT NULL DEFAULT '0.00000',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `my_files_user_id_foreign` (`user_id`),
KEY `my_files_shared_user_id_foreign` (`shared_user_id`),
CONSTRAINT `my_files_shared_user_id_foreign` FOREIGN KEY (`shared_user_id`) REFERENCES `users` (`id`),
CONSTRAINT `my_files_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=38 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `my_files`
--
LOCK TABLES `my_files` WRITE;
/*!40000 ALTER TABLE `my_files` DISABLE KEYS */;
INSERT INTO `my_files` VALUES (1,'fead2dca7db64147d190458fe1c9ae67.png',1,2,2021,NULL,3,NULL,NULL,'F22.png',';2;','my-files/3',0,0.01588,'2021-12-25 10:06:10','2021-12-25 10:07:08'),(2,'D11',0,0,2021,'',3,NULL,NULL,NULL,'',NULL,0,0.00000,'2021-12-25 10:06:12','2021-12-25 10:06:12'),(4,'37a3ed2e6baf559a12a4551c936c046f.png',1,2,2021,NULL,3,NULL,NULL,'F21.png',';2;','my-files/3',0,0.26633,'2021-12-25 10:06:44','2021-12-25 10:07:00'),(5,'efb5e02a2aa899edadcefdb884b73391.png',1,0,2021,NULL,3,NULL,NULL,'F11.png','','my-files/3',0,0.15862,'2021-12-25 10:07:21','2021-12-25 10:07:36'),(6,'D12',0,0,2021,'D12 description',3,NULL,NULL,NULL,'',NULL,0,0.00000,'2021-12-25 10:07:50','2021-12-25 10:32:02'),(7,'1857cca6d8868833bf0cf9741e9ca144.docx',1,8,2021,NULL,3,NULL,NULL,'F31.docx',';6;8;','my-files/3',0,0.00436,'2021-12-25 10:08:15','2021-12-25 10:08:34'),(8,'D22',0,6,2021,'',3,NULL,NULL,NULL,';6;',NULL,0,0.00000,'2021-12-25 10:08:17','2021-12-25 10:08:17'),(9,'D31',0,8,2021,'',3,NULL,NULL,NULL,';6;8;',NULL,0,0.00000,'2021-12-25 10:08:44','2021-12-25 10:08:44'),(10,'a3417d44bfeaf7bc4afe2a46c03f2aa1.xlsx',1,12,2021,NULL,3,NULL,NULL,'tes.xlsx',';6;12;','my-files/3',0,0.00455,'2021-12-25 10:09:08','2021-12-25 10:09:12'),(11,'b4c00b638d1dfc9672031559a9d82568.docx',1,12,2021,NULL,3,NULL,NULL,'test_edms.docx',';6;12;','my-files/3',0,0.08101,'2021-12-25 10:09:08','2021-12-25 10:09:12'),(12,'D23',0,6,2021,'',3,NULL,NULL,NULL,';6;',NULL,0,0.00000,'2021-12-25 10:09:12','2021-12-25 10:09:12'),(13,'D24',0,6,2021,'',3,NULL,NULL,NULL,';6;',NULL,0,0.00000,'2021-12-25 10:09:28','2021-12-25 10:09:28'),(14,'66021fd589e6d5658a134115614d573a.png',1,15,2021,NULL,3,NULL,NULL,'F41.png',';6;13;15;','my-files/3',0,0.53025,'2021-12-25 10:09:46','2021-12-25 10:11:06'),(15,'D32',0,13,2021,'',3,NULL,NULL,NULL,';6;13;',NULL,0,0.00000,'2021-12-25 10:09:48','2021-12-25 10:09:48'),(16,'D33',0,13,2021,'',3,NULL,NULL,NULL,';6;13;',NULL,0,0.00000,'2021-12-25 10:09:55','2021-12-25 10:09:55'),(18,'new dir',0,2,2021,'asd',3,NULL,NULL,NULL,';2;',NULL,0,0.00000,'2021-12-26 08:32:52','2021-12-26 08:32:52'),(19,'3532f0c48765f3a241ea364690f62022.png',1,18,2021,NULL,3,NULL,NULL,'default_profile.png',';2;18;','my-files/3',0,0.01588,'2021-12-26 09:49:27','2021-12-26 09:49:31'),(20,'0ed95752fffa9938c0f6a688b9304c4c.docx',1,2,2021,'test word',3,NULL,NULL,'myfile.docx',';2;','my-files/3',0,0.00436,'2021-12-26 11:23:03','2021-12-27 15:22:33'),(21,'D123',0,2,2022,'empty directory',3,NULL,NULL,NULL,';2;',NULL,0,0.00000,'2022-01-09 15:03:42','2022-01-09 15:03:42'),(23,'TestsDir',0,0,2022,'directory of Test user',4,NULL,NULL,NULL,'',NULL,0,0.00000,'2022-01-10 05:51:46','2022-01-10 05:51:46'),(24,'CEODir',0,0,2022,'',1,NULL,NULL,NULL,'',NULL,0,0.00000,'2022-01-10 07:05:29','2022-01-10 07:05:29'),(25,'CeoDir2',0,24,2022,'',1,NULL,NULL,NULL,';24;',NULL,0,0.00000,'2022-01-10 07:05:39','2022-01-10 07:05:39'),(26,'cb2a5e5da29f32ab0de3b7ae2855765a.png',1,24,2022,'CEO File',1,NULL,NULL,'default_profile.png',';24;','my-files/1',0,0.01588,'2022-01-10 07:05:46','2022-01-10 07:05:56'),(27,'RegistryDir',0,25,2022,'',1,NULL,NULL,NULL,';24;25;',NULL,0,0.00000,'2022-01-11 07:12:40','2022-01-11 07:12:40'),(28,'88427874ba2afb0d4f8ea19643a4b011.png',1,27,2022,'registry gosdy',3,NULL,NULL,'Screenshot from 2021-06-29 16-52-27.png',';24;25;27;','my-files/3',0,0.15862,'2022-01-11 08:56:19','2022-01-11 08:56:27'),(29,'TestDir',0,24,2022,'aman',1,4,NULL,NULL,';24;',NULL,0,0.00000,'2022-01-11 09:11:06','2022-01-11 09:11:06'),(30,'a27717d36caf6702f507781efdb41996.png',1,31,2022,'aman',4,NULL,NULL,'Screenshot from 2021-12-12 19-38-47.png',';24;29;31;','my-files/4',0,0.53025,'2022-01-11 09:11:42','2022-01-11 09:11:44'),(31,'TestDir2File',0,29,2022,'aman',1,4,NULL,NULL,';24;29;',NULL,0,0.00000,'2022-01-11 09:11:44','2022-01-11 09:11:44'),(32,'c8c4db8c650ff5421d6b9acc76763555.png',1,33,2022,'djuma',3,NULL,NULL,'Screenshot from 2021-08-06 19-27-14.png',';24;29;31;33;','my-files/3',0,0.46989,'2022-01-11 09:12:56','2022-01-11 09:12:58'),(33,'RegDirWithFile',0,31,2022,'djuma',1,3,NULL,NULL,';24;29;31;',NULL,0,0.00000,'2022-01-11 09:12:58','2022-01-11 09:12:58'),(34,'efb36555b039903f34485e51a6eac4c9.png',1,35,2022,'well done',1,NULL,NULL,'Screenshot from 2021-08-01 11-19-01.png',';24;35;','my-files/1',0,0.01966,'2022-01-11 09:22:43','2022-01-11 09:22:44'),(35,'DjumaWithFile',0,24,2022,'well done',1,NULL,NULL,NULL,';24;',NULL,0,0.00000,'2022-01-11 09:22:44','2022-01-11 09:22:44'),(36,'2aea6f5b5e1effbc4153fa67a97ec199.png',1,37,2022,'file',1,4,NULL,'Screenshot from 2021-12-12 19-38-48.png',';24;37;','my-files/4',0,0.53025,'2022-01-11 09:23:39','2022-01-11 09:23:41'),(37,'TestDir2',0,24,2022,'file',1,4,NULL,NULL,';24;',NULL,0,0.00000,'2022-01-11 09:23:41','2022-01-11 09:23:41');
/*!40000 ALTER TABLE `my_files` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `notifications`
--
DROP TABLE IF EXISTS `notifications`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `notifications` (
`id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`notifiable_id` bigint unsigned NOT NULL,
`workflow_document_id` int unsigned NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`read_at` timestamp NULL DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`),
KEY `notifications_workflow_document_id_index` (`workflow_document_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `notifications`
--
LOCK TABLES `notifications` WRITE;
/*!40000 ALTER TABLE `notifications` DISABLE KEYS */;
INSERT INTO `notifications` VALUES ('0774684a-1c90-472a-b42f-bbcd2639a017','App\\Notifications\\DocumentNotification','App\\User',3,11,'{\"type\":\"creator\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTE=\"}','2022-01-03 20:23:59','2022-01-02 17:20:30','2022-01-03 20:23:59'),('19b23d8e-09e4-4188-a9f2-cfbf5af3de7c','App\\Notifications\\DocumentNotification','App\\User',1,9,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/OQ==\"}','2022-01-01 09:39:06','2022-01-01 08:52:05','2022-01-01 09:39:06'),('1c416a38-9794-42e6-a718-3c1a17dbafee','App\\Notifications\\DocumentNotification','App\\User',3,5,'{\"type\":\"reveiwer\",\"action\":\"delegated\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NQ==\"}','2021-12-27 06:42:39','2021-12-27 06:31:14','2021-12-27 06:42:39'),('20f376b6-6c63-49fe-a44f-75d7d6bfc507','App\\Notifications\\DocumentNotification','App\\User',4,11,'{\"type\":\"reveiwer\",\"action\":\"delegated\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTE=\"}','2022-01-02 17:20:10','2022-01-02 09:30:02','2022-01-02 17:20:10'),('2d27bfd4-8938-4d2d-bff4-5205e0342b82','App\\Notifications\\DocumentNotification','App\\User',3,10,'{\"type\":\"creator\",\"action\":\"approved\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTA=\"}','2022-01-01 09:38:25','2022-01-01 09:38:03','2022-01-01 09:38:25'),('3255b7e6-1d40-4fca-b7dd-2e1cc40f8635','App\\Notifications\\DocumentNotification','App\\User',1,6,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Ng==\"}','2021-12-27 06:41:10','2021-11-15 04:12:30','2021-12-27 06:41:10'),('3756bcbe-e62c-4b81-8671-263141375d0e','App\\Notifications\\DocumentNotification','App\\User',1,4,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NA==\"}','2021-12-27 06:38:49','2021-11-13 15:46:26','2021-12-27 06:38:49'),('3bd22fe8-80e8-4915-a800-519a16abccec','App\\Notifications\\DocumentNotification','App\\User',1,1,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MQ==\"}','2021-12-27 06:41:10','2021-11-11 18:56:51','2021-12-27 06:41:10'),('47da46b2-8f67-4a2a-a43a-ac4048eda149','App\\Notifications\\DocumentNotification','App\\User',4,11,'{\"type\":\"all\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTE=\"}','2022-01-02 17:20:41','2022-01-02 17:20:30','2022-01-02 17:20:41'),('601213e1-290c-4713-b32f-b52a489d39a4','App\\Notifications\\DocumentNotification','App\\User',1,7,'{\"type\":\"reveiwer\",\"action\":\"approved\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Nw==\"}','2021-12-27 06:41:10','2021-11-15 04:14:05','2021-12-27 06:41:10'),('602cf80b-b18d-478b-9f86-04e93ba467ad','App\\Notifications\\DocumentNotification','App\\User',1,12,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTI=\"}',NULL,'2022-01-06 20:07:16','2022-01-06 20:07:16'),('6da42e62-84ec-4ee2-83c6-0ae7b3bc11ce','App\\Notifications\\DocumentNotification','App\\User',3,7,'{\"type\":\"creator\",\"action\":\"approved\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Nw==\"}','2021-11-15 04:14:39','2021-11-15 04:14:05','2021-11-15 04:14:39'),('7caf34c3-7a11-403f-bf91-8aa4b25e3b6a','App\\Notifications\\DocumentNotification','App\\User',1,11,'{\"type\":\"all\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTE=\"}','2022-01-11 09:49:09','2022-01-02 17:20:30','2022-01-11 09:49:09'),('83f7fefd-1e5e-4cc1-a105-4698370d51b0','App\\Notifications\\DocumentNotification','App\\User',1,10,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTA=\"}','2022-01-01 09:37:48','2022-01-01 09:36:06','2022-01-01 09:37:48'),('90716c13-c34a-48f6-a9db-6b4ab01a9c33','App\\Notifications\\DocumentNotification','App\\User',1,11,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTE=\"}','2022-01-02 09:29:40','2022-01-02 09:27:48','2022-01-02 09:29:40'),('94bc4aff-862d-472c-b81d-64e8cdcd7249','App\\Notifications\\DocumentNotification','App\\User',1,4,'{\"type\":\"all\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NA==\"}',NULL,'2022-01-02 09:17:45','2022-01-02 09:17:45'),('ae0ae652-0dfe-42ec-bf3b-9d26958dacaa','App\\Notifications\\DocumentNotification','App\\User',3,4,'{\"type\":\"creator\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NA==\"}','2022-01-02 09:20:09','2022-01-02 09:17:44','2022-01-02 09:20:09'),('b35fbc04-75e7-4152-b13e-43caec307d6e','App\\Notifications\\DocumentNotification','App\\User',1,2,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Mg==\"}','2021-12-27 06:41:10','2021-11-11 21:34:27','2021-12-27 06:41:10'),('b3837d88-334e-4d27-ab34-61627296e13f','App\\Notifications\\DocumentNotification','App\\User',1,7,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Nw==\"}','2021-11-15 04:13:55','2021-11-15 04:13:11','2021-11-15 04:13:55'),('bff7c832-400b-4ca0-b933-bf418ce43fe1','App\\Notifications\\DocumentNotification','App\\User',3,5,'{\"type\":\"all\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NQ==\"}','2021-12-27 06:43:34','2021-12-27 06:43:23','2021-12-27 06:43:34'),('c5298ce3-5d4a-40c6-92bf-5f9bd3bc9b3d','App\\Notifications\\DocumentNotification','App\\User',1,5,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NQ==\"}','2021-12-27 06:16:23','2021-11-13 15:46:50','2021-12-27 06:16:23'),('d32a5513-f034-48c0-8873-c900fb3e1941','App\\Notifications\\DocumentNotification','App\\User',1,3,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/Mw==\"}','2021-12-27 06:41:10','2021-11-13 15:37:57','2021-12-27 06:41:10'),('d5ec30dc-4803-421c-82bd-5b36873bab98','App\\Notifications\\DocumentNotification','App\\User',1,10,'{\"type\":\"reveiwer\",\"action\":\"approved\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTA=\"}','2022-01-01 09:39:06','2022-01-01 09:38:03','2022-01-01 09:39:06'),('daa17e29-d790-4a35-82b5-91d2869efc21','App\\Notifications\\DocumentNotification','App\\User',1,5,'{\"type\":\"all\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NQ==\"}','2021-12-27 06:45:26','2021-12-27 06:43:23','2021-12-27 06:45:26'),('e9b5c9ce-1f6c-4ed8-8566-f9bdf13e16ec','App\\Notifications\\DocumentNotification','App\\User',2,4,'{\"type\":\"reveiwer\",\"action\":\"delegated\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NA==\"}','2022-01-02 07:09:52','2021-12-27 06:40:54','2022-01-02 07:09:52'),('ece20477-9533-4b00-b2f5-f7d72caa06f7','App\\Notifications\\DocumentNotification','App\\User',1,8,'{\"type\":\"reveiwer\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/OA==\"}','2021-12-27 06:41:10','2021-11-15 12:40:23','2021-12-27 06:41:10'),('fc91bc02-86a1-405c-a1fe-3b64f14feae6','App\\Notifications\\DocumentNotification','App\\User',3,5,'{\"type\":\"creator\",\"action\":\"completed\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/NQ==\"}','2021-12-27 06:43:23','2021-12-27 06:43:23','2021-12-27 06:43:23'),('fcfcd5b2-023d-44a8-b648-ec1fc2c210a5','App\\Notifications\\DocumentNotification','App\\User',4,12,'{\"type\":\"supporter\",\"action\":\"created\",\"link\":\"http:\\/\\/localhost\\/edms\\/documents\\/details\\/MTI=\"}',NULL,'2022-01-06 20:07:16','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `notifications` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `password_resets`
--
DROP TABLE IF EXISTS `password_resets`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
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 `permission_role`
--
DROP TABLE IF EXISTS `permission_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `permission_role` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`role_id` int unsigned NOT NULL DEFAULT '0',
`department_id` int unsigned NOT NULL DEFAULT '0',
`permission_ids` longtext 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 `permission_role`
--
LOCK TABLES `permission_role` WRITE;
/*!40000 ALTER TABLE `permission_role` DISABLE KEYS */;
INSERT INTO `permission_role` VALUES (1,11,2,'[\"1\",\"2\",\"3\",\"4\",\"5\",\"7\",\"10\",\"11\",\"12\",\"13\",\"14\"]','2021-11-11 06:57:14','2022-01-11 09:44:59'),(2,9,2,'[\"1\",\"2\",\"3\",\"4\",\"5\",\"7\",\"10\",\"11\"]','2021-11-11 06:57:14',NULL),(3,1,0,'[\"8\",\"14\"]','2022-01-11 09:45:50','2022-01-11 09:46:13');
/*!40000 ALTER TABLE `permission_role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `permissions`
--
DROP TABLE IF EXISTS `permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `permissions` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`display_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` varchar(191) COLLATE utf8mb4_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 AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `permissions`
--
LOCK TABLES `permissions` WRITE;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
INSERT INTO `permissions` VALUES (1,'Register Incoming Document',NULL,'Register Incoming Document','2021-11-11 06:57:14',NULL),(2,'Register Outgoing Document without Workflow',NULL,'Register Outgoing Document without Workflow','2021-11-11 06:57:14',NULL),(3,'Upload Scanned version of Outgoing Document',NULL,'Upload Scanned version of Outgoing Document (Final Approved)','2021-11-11 06:57:14',NULL),(4,'Add Contact',NULL,'Add Contact','2021-11-11 06:57:14',NULL),(5,'Edit Contact',NULL,'Edit Contact','2021-11-11 06:57:14',NULL),(6,'Delete Contact',NULL,'Delete Contact','2021-11-11 06:57:14',NULL),(7,'Approve Contact',NULL,'Approve Contact','2021-11-11 06:57:14',NULL),(8,'Outgoing Document Workflow Final Approval',NULL,'Outgoing Workflow(Outgoing Document) Final Approval','2021-11-11 06:57:14',NULL),(9,'Manage Share Folders',NULL,'Create Share Folder in Shared Folders (and give access rights to users or Departments)','2021-11-11 06:57:14',NULL),(10,'Add Related Document',NULL,'NULL','2021-11-11 06:57:14',NULL),(11,'Remove/Edit Related Document',NULL,'NULL','2021-11-11 06:57:14',NULL),(12,'view API Documents',NULL,NULL,'2021-11-15 04:51:05','2021-11-15 04:51:05'),(13,'send API Documents',NULL,NULL,'2021-11-15 04:51:05','2021-11-15 04:51:05'),(14,'Advanced Dashboard',NULL,'view advanced dashboard','2022-01-11 09:44:03','2022-01-11 09:44:03');
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `priorities`
--
DROP TABLE IF EXISTS `priorities`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `priorities` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`completion_day` int unsigned NOT NULL DEFAULT '1',
`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 `priorities`
--
LOCK TABLES `priorities` WRITE;
/*!40000 ALTER TABLE `priorities` DISABLE KEYS */;
INSERT INTO `priorities` VALUES (1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,'2021-11-11 06:57:14',NULL),(2,'{\"en\":\"Medium\", \"ru\":\"Средний\", \"tm\":\"Orta\"}',1,'2021-11-11 06:57:14',NULL),(3,'{\"en\":\"High\", \"ru\":\"Высокий\", \"tm\":\"Ýokary\"}',1,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `priorities` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `promotions`
--
DROP TABLE IF EXISTS `promotions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `promotions` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`user_id` int unsigned NOT NULL DEFAULT '0',
`last_user_id` int unsigned DEFAULT NULL,
`till_date` date DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `promotions`
--
LOCK TABLES `promotions` WRITE;
/*!40000 ALTER TABLE `promotions` DISABLE KEYS */;
/*!40000 ALTER TABLE `promotions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `reg_number_seq`
--
DROP TABLE IF EXISTS `reg_number_seq`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `reg_number_seq` (
`seq_inc` int unsigned NOT NULL DEFAULT '0',
`seq_out` int unsigned NOT NULL DEFAULT '0',
`seq_int` int unsigned NOT NULL DEFAULT '0',
`seq_tmp` int unsigned NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `reg_number_seq`
--
LOCK TABLES `reg_number_seq` WRITE;
/*!40000 ALTER TABLE `reg_number_seq` DISABLE KEYS */;
INSERT INTO `reg_number_seq` VALUES (4,6,1,2);
/*!40000 ALTER TABLE `reg_number_seq` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `reg_numbers`
--
DROP TABLE IF EXISTS `reg_numbers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `reg_numbers` (
`id` bigint unsigned NOT NULL AUTO_INCREMENT,
`reg_number` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`user_id` int unsigned NOT NULL DEFAULT '0',
`is_cancelled` tinyint(1) NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `reg_numbers`
--
LOCK TABLES `reg_numbers` WRITE;
/*!40000 ALTER TABLE `reg_numbers` DISABLE KEYS */;
INSERT INTO `reg_numbers` VALUES (1,'GID-2021-11-0001',3,0,'2021-11-11 18:56:41','2021-11-11 18:56:41'),(2,'GID-2021-11-0002',3,0,'2021-11-11 21:33:59','2021-11-11 21:33:59'),(3,'GID-2021-11-0003',3,0,'2021-11-13 15:37:57','2021-11-13 15:37:57'),(4,'GEL-2021-11-0001',3,0,'2021-11-13 15:46:26','2021-11-13 15:46:26'),(5,'GEL-2021-11-0002',3,0,'2021-11-13 15:46:50','2021-11-13 15:46:50'),(6,'GID-2021-11-0004',3,0,'2021-11-15 04:12:30','2021-11-15 04:12:30'),(7,'TMP-2021-11-0001',3,0,'2021-11-15 04:13:11','2021-11-15 04:13:11'),(8,'GID-2021-11-0005',1,0,'2021-11-15 04:14:04','2021-11-15 04:14:04'),(9,'GID-2021-11-0006',3,0,'2021-11-15 12:40:23','2021-11-15 12:40:23'),(10,'TMP-2022-01-0002',3,0,'2022-01-01 08:52:04','2022-01-01 08:52:04'),(11,'INT-2022-01-0001',3,0,'2022-01-01 09:35:51','2022-01-01 09:35:51'),(12,'GEL-2022-01-0003',3,0,'2022-01-02 09:27:36','2022-01-02 09:27:36'),(13,'GEL-2022-01-0004',3,0,'2022-01-06 20:06:55','2022-01-06 20:06:55');
/*!40000 ALTER TABLE `reg_numbers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `remote_contact_apis`
--
DROP TABLE IF EXISTS `remote_contact_apis`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `remote_contact_apis` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`remote_contact_id` int unsigned NOT NULL,
`type` tinyint unsigned NOT NULL DEFAULT '0',
`connection_string` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`connection_method` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`mandatory_fields` text COLLATE utf8mb4_unicode_ci NOT NULL,
`archive` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `remote_contact_apis_remote_contact_id_foreign` (`remote_contact_id`),
CONSTRAINT `remote_contact_apis_remote_contact_id_foreign` FOREIGN KEY (`remote_contact_id`) REFERENCES `remote_contacts` (`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 `remote_contact_apis`
--
LOCK TABLES `remote_contact_apis` WRITE;
/*!40000 ALTER TABLE `remote_contact_apis` DISABLE KEYS */;
INSERT INTO `remote_contact_apis` VALUES (1,1,0,'http://localhost/kitap/api/document/v1/receive-document','POST','registration_number:registration_number, registration_date:registration_date, file:file',1,'2021-11-11 18:54:27','2021-11-11 18:58:31'),(2,2,0,'http://localhost/kitap/api/document/v1/receive-document','POST','registration_number:registration_number, registration_date:registration_date, topic:topic, file:file',0,'2021-11-11 18:59:39','2021-11-11 21:28:18');
/*!40000 ALTER TABLE `remote_contact_apis` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `remote_contacts`
--
DROP TABLE IF EXISTS `remote_contacts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `remote_contacts` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`contact_id` int unsigned NOT NULL,
`direction` tinyint(1) NOT NULL DEFAULT '1',
`login` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`public_key` text COLLATE utf8mb4_unicode_ci,
`description` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`archive` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `remote_contacts_contact_id_foreign` (`contact_id`),
CONSTRAINT `remote_contacts_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`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 `remote_contacts`
--
LOCK TABLES `remote_contacts` WRITE;
/*!40000 ALTER TABLE `remote_contacts` DISABLE KEYS */;
INSERT INTO `remote_contacts` VALUES (1,1,1,'aa_bb__2021-11-11 23:58:31','123456',NULL,NULL,1,'2021-11-11 18:53:25','2021-11-11 18:58:31'),(2,2,1,'aa_bb','123456',NULL,NULL,0,'2021-11-11 18:58:47','2021-11-11 18:58:47');
/*!40000 ALTER TABLE `remote_contacts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `remote_transfers`
--
DROP TABLE IF EXISTS `remote_transfers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `remote_transfers` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`receipt` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`login` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`workflow_document_id` int unsigned DEFAULT NULL,
`direction` tinyint(1) NOT NULL DEFAULT '1',
`status` tinyint unsigned NOT NULL DEFAULT '0',
`send_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`content` text COLLATE utf8mb4_unicode_ci,
`place_of_the_documents` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`read_at` date DEFAULT NULL,
`contact_id` int unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `remote_transfers_receipt_unique` (`receipt`),
KEY `remote_transfers_contact_id_foreign` (`contact_id`),
CONSTRAINT `remote_transfers_contact_id_foreign` FOREIGN KEY (`contact_id`) REFERENCES `contacts` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `remote_transfers`
--
LOCK TABLES `remote_transfers` WRITE;
/*!40000 ALTER TABLE `remote_transfers` DISABLE KEYS */;
INSERT INTO `remote_transfers` VALUES (1,'d872d07df9e48927cb101c8adc715c579c33ab21','aa_bb',1,1,2,'2021-11-11 19:05:50','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 19:05:50','2021-11-11 21:11:51'),(2,'0d2799d0e640f0bb98df9197a23689503badc34a','aa_bb',1,1,2,'2021-11-11 19:32:49','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 19:32:49','2021-11-11 21:08:01'),(3,'3d5fbe8352a676615f51bbf5149c52102e899292','aa_bb',1,1,2,'2021-11-11 21:13:56','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 21:13:56','2021-11-11 21:14:04'),(4,'775c8c43f6ede33181a14552b5e60928057efb40','aa_bb',1,1,2,'2021-11-11 21:16:26','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\"}','documents/2021/3','EDMS-1636657005-1.png','asd',NULL,2,'2021-11-11 21:16:26','2021-11-11 21:16:33'),(7,'4f59570757ec20112e0b1cc57d726f5dec4346f3','aa_bb',1,1,2,'2021-11-11 21:24:53','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\",\"description\":\"asd\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 21:24:53','2021-11-11 21:25:04'),(8,'6a88f2f75bc30490f5bdc4a389765f608c875101','aa_bb',1,1,2,'2021-11-11 21:28:28','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\",\"topic\":\"asd\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 21:28:28','2021-11-11 21:28:50'),(9,'62366ac6251909d0760e374f6c909b882cbebc77','aa_bb',1,1,2,'2021-11-11 21:31:06','{\"registration_number\":\"GID-2021-11-0001\",\"registration_date\":\"2021-11-11\",\"topic\":\"asd\"}','documents/2021/3','EDMS-1636657005-1.png',NULL,NULL,2,'2021-11-11 21:31:06','2021-11-11 21:31:15'),(10,'c48024da901afedf3300198fe59aac83883b23b8','aa_bb',2,1,2,'2021-11-11 21:34:34','{\"registration_number\":\"GID-2021-11-0002\",\"registration_date\":\"2021-11-12\",\"topic\":\"well done, what is that men \\u00fdaman bet\"}','documents/2021/3','EDMS-1636666466-2.png',NULL,NULL,2,'2021-11-11 21:34:34','2021-11-11 21:34:39'),(11,'f5e51b927abeba6c132e1dd3c955475b124a13f5','aa_bb',3,1,2,'2021-11-15 03:55:40','{\"registration_number\":\"GID-2021-11-0003\",\"registration_date\":\"2021-11-13\",\"topic\":\"asd\"}','documents/2021/3','EDMS-1636817876-3.png',NULL,NULL,2,'2021-11-15 03:55:40','2021-11-15 05:46:39'),(12,'5b3e65e51a1cee08b3e76b13bfc74b438468de65','aa_bb',7,1,2,'2021-11-15 04:19:14','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 04:19:14','2021-11-15 05:42:46'),(13,'70f0ccaa0c8ee925b5eca23e639003f6299fadf5','aa_bb',7,1,2,'2021-11-15 06:42:29','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 06:42:29','2021-11-15 06:46:05'),(14,'0b27855712a9fdc69855ec6fcc5f8539c48ac064','aa_bb',7,1,2,'2021-11-15 07:35:58','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 07:35:58','2021-11-15 07:36:02'),(15,'4ebc2ef326ed56025817ed24b95270d77801d3c5','aa_bb',7,1,2,'2021-11-15 07:37:30','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 07:37:30','2021-11-15 07:46:02'),(16,'3c1d6f1faeb952cdb8fb58a5a88620749a2bb060','aa_bb',7,1,2,'2021-11-15 08:01:57','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 08:01:57','2021-11-15 08:02:00'),(17,'9dce0668a74f65561c985f9b0b071d69c4358454','aa_bb',7,1,2,'2021-11-15 08:05:33','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 08:05:33','2021-11-15 12:00:50'),(18,'2038b89d0a46a1381f5edd2c445936e0af361bb0','aa_bb',7,1,2,'2021-11-15 12:11:01','{\"registration_number\":\"GID-2021-11-0005\",\"registration_date\":\"2021-11-15\",\"topic\":\"test api not signed\"}','documents/2021/3','EDMS-1636949869-8.png',NULL,NULL,2,'2021-11-15 12:11:01','2021-11-15 12:11:06'),(19,'f2c8675fa099b53fc54757efdb74e181f809369e','aa_bb',8,1,2,'2021-11-15 12:57:37','{\"registration_number\":\"GID-2021-11-0006\",\"registration_date\":\"2021-11-15\",\"topic\":\"multi receiver api\"}','documents/2021/3','EDMS-1636980010-9.png',NULL,NULL,2,'2021-11-15 12:57:37','2021-11-15 13:00:46'),(20,'f4144e8d9154803b66ab73d103d9040125b44729','aa_bb',8,1,2,'2021-11-15 13:00:33','{\"registration_number\":\"GID-2021-11-0006\",\"registration_date\":\"2021-11-15\",\"topic\":\"multi receiver api\"}','documents/2021/3','EDMS-1636980010-9.png',NULL,NULL,2,'2021-11-15 13:00:33','2021-11-15 13:00:49'),(21,'7ac29f0071efb7ce4853218bdf9fdbb4cd17b487','aa_bb',8,1,2,'2021-11-26 09:12:53','{\"registration_number\":\"GID-2021-11-0006\",\"registration_date\":\"2021-11-15\",\"topic\":\"multi receiver api\"}','documents/2021/3','EDMS-1636980010-9.png',NULL,NULL,2,'2021-11-26 09:12:53','2021-11-26 09:13:49');
/*!40000 ALTER TABLE `remote_transfers` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `role_user`
--
DROP TABLE IF EXISTS `role_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `role_user` (
`user_id` int unsigned NOT NULL,
`role_id` int unsigned NOT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`user_id`),
KEY `role_user_role_id_foreign` (`role_id`),
CONSTRAINT `role_user_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`),
CONSTRAINT `role_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `role_user`
--
LOCK TABLES `role_user` WRITE;
/*!40000 ALTER TABLE `role_user` DISABLE KEYS */;
INSERT INTO `role_user` VALUES (1,1,'2021-11-11 06:57:14',NULL),(2,2,'2021-11-11 06:57:14',NULL),(3,11,'2021-11-11 06:57:14',NULL),(4,11,'2021-11-11 06:58:10','2021-11-11 06:59:21');
/*!40000 ALTER TABLE `role_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `roles`
--
DROP TABLE IF EXISTS `roles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roles` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(191) COLLATE utf8mb4_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 AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `roles`
--
LOCK TABLES `roles` WRITE;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
INSERT INTO `roles` VALUES (1,'{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'2021-11-11 06:57:14',NULL),(2,'{\"en\":\"Deputy CEO\", \"ru\":\"Зам.Директор\", \"tm\":\"Başlygyň Orunbasary\"}',NULL,'2021-11-11 06:57:14',NULL),(3,'{\"en\":\"Department Director/Head\", \"ru\":\"Начальник/Head\", \"tm\":\"Bölüm müdiri/Müdir\"}',NULL,'2021-11-11 06:57:14',NULL),(4,'{\"en\":\"Sub Department Head\", \"ru\":\"Sub Department Head\", \"tm\":\"Sub Department Head\"}',NULL,'2021-11-11 06:57:14',NULL),(5,'{\"en\":\"Employee\", \"ru\":\"Специалист\", \"tm\":\"Hünärmen\"}',NULL,'2021-11-11 06:57:14',NULL),(9,'{\"en\":\"Deputy Director of Department\", \"ru\":\"Bölüm müdiriniň orunbasary\", \"tm\":\"Bölüm müdiriniň orunbasary\"}',NULL,'2021-11-11 06:57:14',NULL),(10,'{\"en\":\"Sub Department Deputy Head\", \"ru\":\"Sub Department Deputy Head\", \"tm\":\"Sub Department Deputy Head\"}',NULL,'2021-11-11 06:57:14',NULL),(11,'{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}',NULL,'2021-11-11 06:57:14',NULL),(12,'{\"en\":\"Reg Employee\", \"ru\":\"Reg Employee\", \"tm\":\"Kanselýariýa Hünärmen\"}',NULL,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `settings`
--
DROP TABLE IF EXISTS `settings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`website_logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`fabicon` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`organization_name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`organization_phone` longtext COLLATE utf8mb4_unicode_ci,
`organization_address` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`copyright_content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`document_name_prefix` text COLLATE utf8mb4_unicode_ci NOT NULL,
`temporary_document_name_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`incoming_document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`out_going_document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`internal_document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`notes_document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`document_sequential_number_start_value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`document_random_number_range` text COLLATE utf8mb4_unicode_ci NOT NULL,
`comment_text_limit` text COLLATE utf8mb4_unicode_ci NOT NULL,
`topic_text_limit` text COLLATE utf8mb4_unicode_ci NOT NULL,
`additional_notes_text_limit` text COLLATE utf8mb4_unicode_ci NOT NULL,
`allowed_uploaded_file_type` text COLLATE utf8mb4_unicode_ci NOT NULL,
`registration_number_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`outgoing_registration_number_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`internal_registration_number_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`temporary_registration_number_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`is_registration_number_with_date` tinyint unsigned NOT NULL DEFAULT '1',
`default_language` tinyint unsigned NOT NULL DEFAULT '1',
`data_limit_per_page` tinyint unsigned NOT NULL DEFAULT '25',
`dashboard_data_limit` tinyint unsigned NOT NULL DEFAULT '25',
`default_disk_quota` int unsigned NOT NULL DEFAULT '500',
`user_file_size_limit` int unsigned NOT NULL DEFAULT '5',
`notification_refreshing_time` tinyint unsigned NOT NULL DEFAULT '10',
`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 `settings`
--
LOCK TABLES `settings` WRITE;
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
INSERT INTO `settings` VALUES (1,'profile_1591818785.png','profile_1587650411.ico','{\"en\":\"EDMS Organization\", \"ru\":\"Организация EDMS\", \"tm\":\"EDMS Guramasy\"}','2545454','{\"en\":\"E-dms\",\"tm\":\"\",\"ru\":\"\"}','{\"en\":\"E-dms\",\"tm\":\"\",\"ru\":\"\"}','EDMS','EDMS','EDMS','EDMS','EDMS','EDMS','1','EDMS','500','500','500','pdf,jpeg,jpg,png,doc,docx,xls,xlsx','GEL','GID','INT','TMP',1,1,25,25,500,5,10,'0000-00-00 00:00:00','0000-00-00 00:00:00');
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `shared_files`
--
DROP TABLE IF EXISTS `shared_files`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `shared_files` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`file_type` tinyint(1) NOT NULL DEFAULT '0',
`file_id` int unsigned NOT NULL DEFAULT '0',
`user_id` int unsigned DEFAULT NULL,
`department_id` int unsigned DEFAULT NULL,
`parent_id` int unsigned DEFAULT NULL,
`shared_by` int unsigned NOT NULL,
`path_to_root` text COLLATE utf8mb4_unicode_ci,
`show_home` tinyint(1) NOT NULL DEFAULT '0',
`permission` tinyint NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `shared_files_user_id_foreign` (`user_id`),
KEY `shared_files_department_id_foreign` (`department_id`),
KEY `shared_files_shared_by_foreign` (`shared_by`),
CONSTRAINT `shared_files_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`),
CONSTRAINT `shared_files_shared_by_foreign` FOREIGN KEY (`shared_by`) REFERENCES `users` (`id`),
CONSTRAINT `shared_files_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `shared_files`
--
LOCK TABLES `shared_files` WRITE;
/*!40000 ALTER TABLE `shared_files` DISABLE KEYS */;
INSERT INTO `shared_files` VALUES (11,0,2,NULL,2,0,3,'',1,1,'2021-12-26 05:15:23','2021-12-26 05:17:01'),(12,1,5,NULL,2,0,3,'',1,1,'2021-12-26 05:15:43','2021-12-26 05:17:01'),(13,0,8,NULL,2,6,3,';6;',0,1,'2021-12-26 06:41:23','2021-12-26 06:41:23'),(14,0,18,NULL,2,2,3,';2;',0,2,'2021-12-26 09:50:07','2021-12-26 09:50:07'),(18,0,13,NULL,2,6,3,';6;',1,2,'2021-12-26 10:40:41','2021-12-26 10:40:41'),(19,0,2,4,NULL,0,3,'',1,2,'2021-12-27 12:27:02','2021-12-27 12:27:02'),(20,0,24,NULL,2,0,1,'',1,2,'2022-01-10 07:06:13','2022-01-10 07:06:13');
/*!40000 ALTER TABLE `shared_files` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int unsigned NOT NULL DEFAULT '0',
`department_id` int unsigned NOT NULL DEFAULT '0',
`first_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`last_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`email_verified_at` timestamp NULL DEFAULT NULL,
`password` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`cell_phone_number` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`profile_picture` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`home_address` text COLLATE utf8mb4_unicode_ci,
`remember_token` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '1',
`working_status` tinyint unsigned NOT NULL DEFAULT '1',
`is_log_in` tinyint unsigned NOT NULL DEFAULT '0',
`user_language` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
`user_disk_quota` int unsigned NOT NULL DEFAULT '500',
`user_disk_uses` int unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `users_email_unique` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=5 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,0,0,'ceo','ceo','ceo@online.tm','ceo',NULL,'$2y$10$R/cio5HvLDLxsqf4FEiAvuEIrwXonP/3BanIGJJLexwVrhjkOlFCW',NULL,NULL,NULL,NULL,NULL,'2022-01-11 09:50:17',1,1,0,'ru',500,0),(2,0,0,'dyceo','dyceo','dyceo@online.tm','dyceo',NULL,'$2y$10$2Rvocix9rywJms0MBPDh0ujaLzXZBAey1lshJ9gZL6bX1U9OsTmve',NULL,NULL,NULL,NULL,NULL,'2022-01-02 17:13:42',1,1,0,'en',500,0),(3,0,2,'registryHead','registry','reg@online.tm','registry',NULL,'$2y$10$xOuD0buOxYU3fLl2x7xXlOToTVQf2.C0CPuUWVrpYEl8w6zSSDXy.',NULL,NULL,NULL,NULL,NULL,'2022-01-11 09:50:23',1,1,1,'tm',500,11),(4,0,2,'Test','Testow','test@gmail.com','test',NULL,'$2y$10$iyeG3jE1JK1VLsFeyq59..bLa/R.aSGYXIRod6nxDwm52I5BoQxVy','123123',NULL,'asdf',NULL,'2021-11-11 06:58:10','2022-01-11 09:23:49',1,1,0,'tm',500,2);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_document_files`
--
DROP TABLE IF EXISTS `workflow_document_files`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_document_files` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`workflow_document_id` int unsigned NOT NULL DEFAULT '0',
`document_type` enum('R','S') COLLATE utf8mb4_unicode_ci NOT NULL,
`document_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`place_of_the_documents` text COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('Y','N') COLLATE utf8mb4_unicode_ci NOT NULL,
`uploaded_by` int unsigned NOT NULL DEFAULT '0',
`uploader_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`version` tinyint unsigned NOT NULL DEFAULT '1',
`process_id` int NOT NULL DEFAULT '0',
`is_temp` tinyint unsigned NOT NULL DEFAULT '1',
`is_signed` tinyint unsigned NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `workflow_document_files`
--
LOCK TABLES `workflow_document_files` WRITE;
/*!40000 ALTER TABLE `workflow_document_files` DISABLE KEYS */;
INSERT INTO `workflow_document_files` VALUES (1,1,'S','EDMS-1636657005-1.png','documents/2021/3','Y',3,'registryHead registry',1,1,0,1,'2021-11-11 18:56:45','2021-11-11 18:56:52'),(2,2,'S','EDMS-1636666466-2.png','documents/2021/3','Y',3,'registryHead registry',1,2,0,1,'2021-11-11 21:34:26','2021-11-11 21:34:27'),(3,3,'S','EDMS-1636817876-3.png','documents/2021/3','Y',3,'registryHead registry',1,3,0,1,'2021-11-13 15:37:56','2021-11-13 15:37:58'),(4,4,'S','EDMS-1636818383-4.png','documents/2021/3','Y',3,'registryHead registry',1,4,0,0,'2021-11-13 15:46:23','2021-11-13 15:46:26'),(5,5,'S','EDMS-1636818408-5.png','documents/2021/3','Y',3,'registryHead registry',1,5,0,0,'2021-11-13 15:46:48','2021-11-13 15:46:50'),(6,6,'S','EDMS-1636949545-6.png','documents/2021/3','Y',3,'registryHead registry',1,6,0,1,'2021-11-15 04:12:25','2021-11-15 04:12:30'),(7,7,'S','EDMS-1636949580-7.png','documents/2021/3','N',3,'registryHead registry',1,7,0,0,'2021-11-15 04:13:00','2021-11-15 04:14:05'),(8,7,'S','EDMS-1636949869-8.png','documents/2021/3','Y',3,'registryHead registry',1,7,0,1,'2021-11-15 04:17:49','2021-11-15 04:17:51'),(9,8,'S','EDMS-1636980010-9.png','documents/2021/3','Y',3,'registryHead registry',1,8,0,1,'2021-11-15 12:40:10','2021-11-15 12:40:23'),(10,9,'S','EDMS-1641027121-10.png','documents/2022/3','Y',3,'registryHead registry',1,11,0,0,'2022-01-01 08:52:01','2022-01-01 08:52:05'),(11,10,'S','EDMS-1641029764-11.png','documents/2022/3','N',3,'registryHead registry',1,12,0,0,'2022-01-01 09:36:04','2022-01-01 09:38:03'),(12,11,'S','EDMS-1641115667-12.png','documents/2022/3','Y',3,'registryHead registry',1,13,0,0,'2022-01-02 09:27:47','2022-01-02 09:27:48'),(13,12,'S','EDMS-1641499633-13.png','documents/2022/3','Y',3,'registryHead registry',1,15,0,0,'2022-01-06 20:07:13','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `workflow_document_files` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_document_process`
--
DROP TABLE IF EXISTS `workflow_document_process`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_document_process` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int unsigned NOT NULL DEFAULT '0',
`workflow_document_id` int unsigned NOT NULL DEFAULT '0',
`user_id` int unsigned NOT NULL DEFAULT '0',
`user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_role` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_department` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assign_by` int unsigned DEFAULT NULL,
`assigner_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assigner_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assigner_role` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assigner_department` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`assign_date` datetime DEFAULT NULL,
`start_date` date DEFAULT NULL,
`end_date` date DEFAULT NULL,
`comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
`status` enum('P','W','CO','D','CA','R','SA','A','RE') COLLATE utf8mb4_unicode_ci NOT NULL,
`is_approved` tinyint unsigned NOT NULL DEFAULT '0',
`user_type` enum('R','S') COLLATE utf8mb4_unicode_ci NOT NULL,
`supporter_action` enum('P','A','N') 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=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `workflow_document_process`
--
LOCK TABLES `workflow_document_process` WRITE;
/*!40000 ALTER TABLE `workflow_document_process` DISABLE KEYS */;
INSERT INTO `workflow_document_process` VALUES (1,0,1,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-11 23:56:51','2021-11-11',NULL,'','A',0,'R','P','2021-11-11 18:56:51','2021-11-11 18:56:51'),(2,0,2,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-12 02:34:27','2021-11-12',NULL,'','A',0,'R','P','2021-11-11 21:34:27','2021-11-11 21:34:27'),(3,0,3,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-13 20:37:57','2021-11-13',NULL,'','A',0,'R','P','2021-11-13 15:37:57','2021-11-13 15:37:57'),(4,0,4,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-13 20:46:26','2021-11-13','2021-12-27','islemeli','D',0,'R','P','2021-11-13 15:46:26','2021-12-27 06:40:54'),(5,0,5,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-13 20:46:50','2021-11-13','2021-12-27','iber','D',0,'R','P','2021-11-13 15:46:50','2021-12-27 06:31:14'),(6,0,6,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-15 09:12:30','2021-11-15',NULL,'','A',0,'R','P','2021-11-15 04:12:30','2021-11-15 04:12:30'),(7,0,7,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-15 09:13:11','2021-11-15','2021-11-15','done','A',1,'R','P','2021-11-15 04:13:11','2021-11-15 04:14:04'),(8,0,8,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2021-11-15 17:40:23','2021-11-15',NULL,'','A',0,'R','P','2021-11-15 12:40:23','2021-11-15 12:40:23'),(9,5,5,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}',1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'2021-12-27 11:31:14','2021-12-27','2021-12-27','well done','CO',0,'R','P','2021-12-27 06:31:14','2021-12-27 06:43:23'),(10,4,4,2,'dyceo dyceo','dyceo@online.tm','{\"en\":\"Deputy CEO\", \"ru\":\"Зам.Директор\", \"tm\":\"Başlygyň Orunbasary\"}',NULL,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'2021-12-27 11:40:54','2021-12-27','2022-01-02','done','CO',0,'R','P','2021-12-27 06:40:54','2022-01-02 09:17:44'),(11,0,9,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2022-01-01 13:52:04','2022-01-01',NULL,'','P',0,'R','P','2022-01-01 08:52:04','2022-01-01 08:52:04'),(12,0,10,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2022-01-01 14:36:06','2022-01-01','2022-01-01','ok normalni','A',1,'R','P','2022-01-01 09:36:06','2022-01-01 09:38:03'),(13,0,11,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2022-01-02 14:27:48','2022-01-02','2022-01-02','','D',0,'R','P','2022-01-02 09:27:48','2022-01-02 09:30:02'),(14,13,11,4,'Test Testow','test@gmail.com','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}',1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'2022-01-02 14:30:02','2022-01-02','2022-01-02','gul yaly','CO',0,'R','P','2022-01-02 09:30:02','2022-01-02 17:20:30'),(15,0,12,1,'ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,3,'registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','2022-01-07 01:07:16','2022-01-07',NULL,'','P',0,'R','P','2022-01-06 20:07:16','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `workflow_document_process` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_document_senders`
--
DROP TABLE IF EXISTS `workflow_document_senders`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_document_senders` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`workflow_document_id` int unsigned NOT NULL DEFAULT '0',
`contact_id` int unsigned NOT NULL DEFAULT '0',
`contact_organization_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_alternative_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`contact_address` text COLLATE utf8mb4_unicode_ci NOT NULL,
`contact_telephone_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('Y','N') 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=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `workflow_document_senders`
--
LOCK TABLES `workflow_document_senders` WRITE;
/*!40000 ALTER TABLE `workflow_document_senders` DISABLE KEYS */;
INSERT INTO `workflow_document_senders` VALUES (1,1,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-11 18:56:52','2021-11-11 18:56:52'),(2,2,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-11 21:34:27','2021-11-11 21:34:27'),(3,3,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-13 15:37:58','2021-11-13 15:37:58'),(4,4,1,'Organization AAA','AAA','adress A','101010','Y','2021-11-13 15:46:26','2021-11-13 15:46:26'),(5,5,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-13 15:46:50','2021-11-13 15:46:50'),(6,6,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-15 04:12:30','2021-11-15 04:12:30'),(7,7,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-15 04:13:11','2021-11-15 04:13:11'),(8,8,1,'Organization AAA','AAA','adress A','101010','Y','2021-11-15 12:40:23','2021-11-15 12:40:23'),(9,8,2,'Organization BBB','BBB','adress B','202020','Y','2021-11-15 12:40:23','2021-11-15 12:40:23'),(10,9,2,'Organization BBB','BBB','adress B','202020','Y','2022-01-01 08:52:05','2022-01-01 08:52:05'),(11,11,2,'Organization BBB','BBB','adress B','202020','Y','2022-01-02 09:27:48','2022-01-02 09:27:48'),(12,12,2,'Organization BBB','BBB','adress B','202020','Y','2022-01-06 20:07:16','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `workflow_document_senders` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_document_users`
--
DROP TABLE IF EXISTS `workflow_document_users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_document_users` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`workflow_document_id` int unsigned NOT NULL,
`process_id` int unsigned NOT NULL DEFAULT '0',
`user_id` int unsigned NOT NULL,
`user_type` enum('R','S') COLLATE utf8mb4_unicode_ci NOT NULL,
`user_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_role` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`user_department` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` enum('Y','N') COLLATE utf8mb4_unicode_ci NOT NULL,
`is_read` tinyint unsigned NOT NULL DEFAULT '0',
`added_by` int unsigned NOT NULL DEFAULT '0',
`is_approved` enum('P','N','Y') COLLATE utf8mb4_unicode_ci NOT NULL,
`promotion_id` int unsigned NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `workflow_document_users`
--
LOCK TABLES `workflow_document_users` WRITE;
/*!40000 ALTER TABLE `workflow_document_users` DISABLE KEYS */;
INSERT INTO `workflow_document_users` VALUES (1,1,1,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',0,3,'P',0,'2021-11-11 18:56:51','2021-11-11 18:56:51'),(2,2,2,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',0,3,'P',0,'2021-11-11 21:34:27','2021-11-11 21:34:27'),(3,3,3,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',0,3,'P',0,'2021-11-13 15:37:57','2021-11-13 15:37:57'),(4,4,4,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2021-11-13 15:46:26','2021-12-27 06:38:49'),(5,5,5,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2021-11-13 15:46:50','2021-12-27 06:16:24'),(6,6,6,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',0,3,'P',0,'2021-11-15 04:12:30','2021-11-15 04:12:30'),(7,7,7,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2021-11-15 04:13:11','2021-11-15 04:13:55'),(8,8,8,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',0,3,'P',0,'2021-11-15 12:40:23','2021-11-15 12:40:23'),(9,5,0,3,'R','registryHead registry','reg@online.tm','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','Y',1,1,'P',0,'2021-12-27 06:31:14','2021-12-27 06:42:39'),(10,4,0,2,'R','dyceo dyceo','dyceo@online.tm','{\"en\":\"Deputy CEO\", \"ru\":\"Зам.Директор\", \"tm\":\"Başlygyň Orunbasary\"}',NULL,'N',1,1,'P',0,'2021-12-27 06:40:54','2022-01-02 09:17:44'),(11,9,11,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2022-01-01 08:52:04','2022-01-11 09:49:19'),(12,10,12,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2022-01-01 09:36:06','2022-01-01 09:37:48'),(13,11,13,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2022-01-02 09:27:48','2022-01-02 09:29:40'),(14,11,0,4,'R','Test Testow','test@gmail.com','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','Y',1,1,'P',0,'2022-01-02 09:30:02','2022-01-02 17:20:10'),(15,12,15,1,'R','ceo ceo','ceo@online.tm','{\"en\":\"CEO\", \"ru\":\"Ген.Директор\", \"tm\":\"Başlyk\"}',NULL,'Y',1,3,'P',0,'2022-01-06 20:07:16','2022-01-11 09:49:32'),(16,12,15,4,'S','Test Testow','test@gmail.com','{\"en\":\"Registry\", \"ru\":\"Канцелярия\", \"tm\":\"Kanselýariýa\"}','{\"en\":\"Registry\", \"tm\":\"Kanselýariýa\", \"ru\":\"Канцелярия\"}','Y',0,3,'P',0,'2022-01-06 20:07:16','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `workflow_document_users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_documents`
--
DROP TABLE IF EXISTS `workflow_documents`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_documents` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`workflow_type_id` int unsigned NOT NULL DEFAULT '1',
`workflow_type_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`due_date` date DEFAULT NULL,
`priority_id` int unsigned NOT NULL DEFAULT '1',
`priority_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`max_completion_days` int unsigned NOT NULL DEFAULT '1',
`temporary_registration_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`registration_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`registration_date` date DEFAULT NULL,
`delivery_type_id` int unsigned NOT NULL DEFAULT '2',
`delivery_type_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`document_type_id` int unsigned NOT NULL DEFAULT '1',
`document_type_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
`sender_letter_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sender_letter_date` date DEFAULT NULL,
`topic` text COLLATE utf8mb4_unicode_ci NOT NULL,
`additional_notes` text COLLATE utf8mb4_unicode_ci,
`place_of_the_documents` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`comment` text COLLATE utf8mb4_unicode_ci,
`creator_id` int unsigned NOT NULL DEFAULT '1',
`creator_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`related_documents` text COLLATE utf8mb4_unicode_ci NOT NULL,
`status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`reply_for` int NOT NULL DEFAULT '0',
`is_deleted` tinyint unsigned NOT NULL DEFAULT '0',
`is_rejected` tinyint unsigned NOT NULL DEFAULT '0',
`is_workflow_free` int unsigned NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `workflow_documents`
--
LOCK TABLES `workflow_documents` WRITE;
/*!40000 ALTER TABLE `workflow_documents` DISABLE KEYS */;
INSERT INTO `workflow_documents` VALUES (1,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-11',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GID-2021-11-0001','2021-11-11',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'asd',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,1,'2021-11-11 18:56:51','2021-11-11 18:56:51'),(2,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-12',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GID-2021-11-0002','2021-11-12',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'well done, what is that men ýaman bet',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,1,'2021-11-11 21:34:27','2021-11-11 21:34:27'),(3,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-13',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GID-2021-11-0003','2021-11-13',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'asd',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,1,'2021-11-13 15:37:57','2021-11-13 15:37:57'),(4,1,'{\"en\":\"Incoming\", \"ru\":\"Входящие\", \"tm\":\"Gelen\"}','2021-11-13',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GEL-2021-11-0001','2021-11-13',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}','a-12','2021-11-13','ad',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Complete',0,0,0,0,'2021-11-13 15:46:26','2022-01-02 09:17:44'),(5,1,'{\"en\":\"Incoming\", \"ru\":\"Входящие\", \"tm\":\"Gelen\"}','2021-11-13',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GEL-2021-11-0002','2021-11-13',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}','b-12','2021-11-13','asd',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Complete',0,0,0,0,'2021-11-13 15:46:50','2021-12-27 06:43:23'),(6,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-15',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GID-2021-11-0004','2021-11-15',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'tert',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,1,'2021-11-15 04:12:30','2021-11-15 04:12:30'),(7,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-15',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,'TMP-2021-11-0001','GID-2021-11-0005','2021-11-15',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'test api not signed',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,0,'2021-11-15 04:13:11','2021-11-15 04:14:04'),(8,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2021-11-15',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GID-2021-11-0006','2021-11-15',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'multi receiver api',NULL,'documents/2021/3',NULL,3,'registryHead registry','','Approved',0,0,0,1,'2021-11-15 12:40:23','2021-11-15 12:40:23'),(9,2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}','2022-01-04',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,'TMP-2022-01-0002',NULL,'2022-01-01',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'habarnama ibermeli',NULL,'documents/2022/3',NULL,3,'registryHead registry','','Pending',0,0,0,0,'2022-01-01 08:52:04','2022-01-01 08:52:04'),(10,3,'{\"en\":\"Internal\", \"ru\":\"Внутренние\", \"tm\":\"Içki\"}','2022-01-01',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'INT-2022-01-0001','2022-01-01',2,'',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}',NULL,NULL,'seretmeli',NULL,'documents/2022/3',NULL,3,'registryHead registry','','Approved',0,0,0,0,'2022-01-01 09:36:06','2022-01-01 09:38:03'),(11,1,'{\"en\":\"Incoming\", \"ru\":\"Входящие\", \"tm\":\"Gelen\"}','2022-01-02',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GEL-2022-01-0003','2022-01-02',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}','B012','2022-01-02','asd',NULL,'documents/2022/3',NULL,3,'registryHead registry','','Complete',0,0,0,0,'2022-01-02 09:27:48','2022-01-02 17:20:30'),(12,1,'{\"en\":\"Incoming\", \"ru\":\"Входящие\", \"tm\":\"Gelen\"}','2022-01-07',1,'{\"en\":\"Low\", \"ru\":\"Низкий\", \"tm\":\"Pes\"}',1,NULL,'GEL-2022-01-0004','2022-01-07',1,'{\"en\":\"Courier\", \"ru\":\"Курьер\", \"tm\":\"Kurýer\"}',1,'{\"en\":\"Law & Regulation\", \"ru\":\"Закон и регулирование\", \"tm\":\"Kanun we düzgünnama\"}','B-123','2022-01-07','asd',NULL,'documents/2022/3',NULL,3,'registryHead registry','','Pending',0,0,0,0,'2022-01-06 20:07:16','2022-01-06 20:07:16');
/*!40000 ALTER TABLE `workflow_documents` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `workflow_types`
--
DROP TABLE IF EXISTS `workflow_types`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `workflow_types` (
`id` int unsigned NOT NULL AUTO_INCREMENT,
`name` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`assigned_deadline` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`status` tinyint unsigned NOT NULL DEFAULT '1',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT 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 `workflow_types`
--
LOCK TABLES `workflow_types` WRITE;
/*!40000 ALTER TABLE `workflow_types` DISABLE KEYS */;
INSERT INTO `workflow_types` VALUES (1,'{\"en\":\"Incoming\", \"ru\":\"Входящие\", \"tm\":\"Gelen\"}',NULL,1,'2021-11-11 06:57:14',NULL),(2,'{\"en\":\"Outgoing\", \"ru\":\"Исходящие\", \"tm\":\"Giden\"}',NULL,1,'2021-11-11 06:57:14',NULL),(3,'{\"en\":\"Internal\", \"ru\":\"Внутренние\", \"tm\":\"Içki\"}',NULL,1,'2021-11-11 06:57:14',NULL),(4,'{\"en\":\"Note\", \"ru\":\"Note\", \"tm\":\"Note\"}',NULL,1,'2021-11-11 06:57:14',NULL);
/*!40000 ALTER TABLE `workflow_types` 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 2022-02-02 9:01:02