From: root Date: Wed, 27 Mar 2024 17:51:02 +0000 (+0100) Subject: database dump X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=4bd4adf8ff423b199e66cf538fe464f877a7b613;p=worxer.git database dump --- diff --git a/resources/db/worxer.sql b/resources/db/worxer.sql new file mode 100644 index 0000000..c45c43a --- /dev/null +++ b/resources/db/worxer.sql @@ -0,0 +1,771 @@ +-- MariaDB dump 10.19 Distrib 10.11.6-MariaDB, for debian-linux-gnu (x86_64) +-- +-- Host: localhost Database: lrvworxer +-- ------------------------------------------------------ +-- Server version 10.11.6-MariaDB-0+deb12u1 + +/*!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 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 `cache` +-- + +DROP TABLE IF EXISTS `cache`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `cache` ( + `key` varchar(255) NOT NULL, + `value` mediumtext NOT NULL, + `expiration` int(11) NOT NULL, + PRIMARY KEY (`key`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `cache` +-- + +LOCK TABLES `cache` WRITE; +/*!40000 ALTER TABLE `cache` DISABLE KEYS */; +/*!40000 ALTER TABLE `cache` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `cache_locks` +-- + +DROP TABLE IF EXISTS `cache_locks`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `cache_locks` ( + `key` varchar(255) NOT NULL, + `owner` varchar(255) NOT NULL, + `expiration` int(11) NOT NULL, + PRIMARY KEY (`key`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `cache_locks` +-- + +LOCK TABLES `cache_locks` WRITE; +/*!40000 ALTER TABLE `cache_locks` DISABLE KEYS */; +/*!40000 ALTER TABLE `cache_locks` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `failed_jobs` +-- + +DROP TABLE IF EXISTS `failed_jobs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `failed_jobs` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `uuid` varchar(255) NOT NULL, + `connection` text NOT NULL, + `queue` text NOT NULL, + `payload` longtext NOT NULL, + `exception` longtext NOT NULL, + `failed_at` timestamp NOT NULL DEFAULT current_timestamp(), + PRIMARY KEY (`id`), + UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `failed_jobs` +-- + +LOCK TABLES `failed_jobs` WRITE; +/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */; +/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `files` +-- + +DROP TABLE IF EXISTS `files`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `files` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `title` varchar(255) NOT NULL, + `description` text DEFAULT NULL, + `filename` varchar(255) NOT NULL, + `filegroup_scope` int(11) NOT NULL, + `visibility_scope` int(11) NOT NULL, + `size` double NOT NULL, + `user_id` bigint(20) unsigned NOT NULL, + `module_id` bigint(20) unsigned NOT NULL, + `reference_id` bigint(20) DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `files_user_id_foreign` (`user_id`), + KEY `files_module_id_foreign` (`module_id`), + CONSTRAINT `files_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`), + CONSTRAINT `files_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 `files` +-- + +LOCK TABLES `files` WRITE; +/*!40000 ALTER TABLE `files` DISABLE KEYS */; +/*!40000 ALTER TABLE `files` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `job_batches` +-- + +DROP TABLE IF EXISTS `job_batches`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `job_batches` ( + `id` varchar(255) NOT NULL, + `name` varchar(255) NOT NULL, + `total_jobs` int(11) NOT NULL, + `pending_jobs` int(11) NOT NULL, + `failed_jobs` int(11) NOT NULL, + `failed_job_ids` longtext NOT NULL, + `options` mediumtext DEFAULT NULL, + `cancelled_at` int(11) DEFAULT NULL, + `created_at` int(11) NOT NULL, + `finished_at` int(11) 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 `job_batches` +-- + +LOCK TABLES `job_batches` WRITE; +/*!40000 ALTER TABLE `job_batches` DISABLE KEYS */; +/*!40000 ALTER TABLE `job_batches` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `jobs` +-- + +DROP TABLE IF EXISTS `jobs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `jobs` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `queue` varchar(255) NOT NULL, + `payload` longtext NOT NULL, + `attempts` tinyint(3) unsigned NOT NULL, + `reserved_at` int(10) unsigned DEFAULT NULL, + `available_at` int(10) unsigned NOT NULL, + `created_at` int(10) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `jobs_queue_index` (`queue`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `jobs` +-- + +LOCK TABLES `jobs` WRITE; +/*!40000 ALTER TABLE `jobs` DISABLE KEYS */; +/*!40000 ALTER TABLE `jobs` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `menuitems` +-- + +DROP TABLE IF EXISTS `menuitems`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `menuitems` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `name` varchar(64) NOT NULL, + `label` varchar(64) NOT NULL, + `icon` varchar(64) NOT NULL, + `section` varchar(64) NOT NULL, + `link` varchar(255) 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 `menuitems` +-- + +LOCK TABLES `menuitems` WRITE; +/*!40000 ALTER TABLE `menuitems` DISABLE KEYS */; +INSERT INTO `menuitems` VALUES +(1,NULL,NULL,'menuitems','Start Menu','bi bi-menu-up','main','/menuitem-index'), +(2,NULL,NULL,'users','Users','bi bi-people-fill','main','/user-index'), +(3,NULL,NULL,'roles','Roles','bi bi-person-check-fill','main','/role-index'), +(4,NULL,NULL,'sproperties','Properties','bi bi-card-list','main','/sproperty-index'), +(5,NULL,NULL,'notes','Notes','bi bi-card-checklist','main','/note-index'), +(6,NULL,NULL,'files','Files','bi bi-file-pdf','main','/file-index'), +(7,NULL,NULL,'terms','Terms','bi bi-calendar-date','main','/term-index'), +(8,'2024-03-21 19:01:09','2024-03-21 19:10:40','words','Words','bi bi-file-earmark-word','main','/word-index'), +(9,'2024-03-21 19:39:17','2024-03-21 19:45:15','verbs','Verbs','bi-chevron-double-right','main','/verb-index'), +(10,'2024-03-21 19:45:46','2024-03-21 19:47:41','nouns','Nouns','bi bi-file-image','main','/noun-index'); +/*!40000 ALTER TABLE `menuitems` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `menuitems_roles` +-- + +DROP TABLE IF EXISTS `menuitems_roles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `menuitems_roles` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `order` int(11) NOT NULL, + `menuitem_id` bigint(20) unsigned NOT NULL, + `role_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `menuitems_roles_menuitem_id_foreign` (`menuitem_id`), + KEY `menuitems_roles_role_id_foreign` (`role_id`), + CONSTRAINT `menuitems_roles_menuitem_id_foreign` FOREIGN KEY (`menuitem_id`) REFERENCES `menuitems` (`id`), + CONSTRAINT `menuitems_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=35 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `menuitems_roles` +-- + +LOCK TABLES `menuitems_roles` WRITE; +/*!40000 ALTER TABLE `menuitems_roles` DISABLE KEYS */; +INSERT INTO `menuitems_roles` VALUES +(25,NULL,NULL,10,9,1), +(26,NULL,NULL,20,10,1), +(27,NULL,NULL,30,8,1), +(28,NULL,NULL,40,1,1), +(29,NULL,NULL,50,2,1), +(30,NULL,NULL,60,3,1), +(31,NULL,NULL,70,4,1), +(32,NULL,NULL,80,5,1), +(33,NULL,NULL,90,6,1), +(34,NULL,NULL,100,7,1); +/*!40000 ALTER TABLE `menuitems_roles` 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(255) NOT NULL, + `batch` int(11) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=32 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,'0001_01_01_000000_create_users_table',1), +(2,'0001_01_01_000001_create_cache_table',1), +(3,'0001_01_01_000002_create_jobs_table',1), +(4,'2023_10_30_create_sproperties_table',2), +(5,'2023_12_25_163536_create_roles_table',2), +(6,'2023_12_27_071516_modify_users_role',2), +(7,'2024_01_03_053217_create_modules_table',2), +(8,'2024_01_26_180828_create_notes_table',2), +(9,'2024_02_06_182720_create_menuitems_table',2), +(10,'2024_02_06_183045_create_menuitems_roles_table',2), +(11,'2024_02_17_172032_create_files_table',2), +(12,'2024_03_07_175856_create_terms_table',2), +(26,'2024_03_21_191359_create_words_table',3), +(28,'2024_03_21_202154_create_nouns_table',3), +(30,'2024_03_21_202004_create_phrases_table',4), +(31,'2024_03_23_185143_create_verbs_table',5); +/*!40000 ALTER TABLE `migrations` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `modules` +-- + +DROP TABLE IF EXISTS `modules`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `modules` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `name` varchar(64) NOT NULL, + `tablename` varchar(64) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `modules` +-- + +LOCK TABLES `modules` WRITE; +/*!40000 ALTER TABLE `modules` DISABLE KEYS */; +INSERT INTO `modules` VALUES +(1,NULL,NULL,'SProperty','sproperties'), +(2,NULL,NULL,'Role','roles'), +(3,NULL,NULL,'User','users'), +(4,NULL,NULL,'Note','notes'), +(5,NULL,NULL,'Menuitem','menuitems'), +(6,NULL,NULL,'File','files'), +(7,NULL,NULL,'Module','modules'); +/*!40000 ALTER TABLE `modules` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `notes` +-- + +DROP TABLE IF EXISTS `notes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `notes` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `title` varchar(255) NOT NULL, + `body` text DEFAULT NULL, + `category_scope` int(11) NOT NULL, + `visibility_scope` int(11) NOT NULL, + `notestatus_scope` int(11) NOT NULL, + `user_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `notes_user_id_foreign` (`user_id`), + CONSTRAINT `notes_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 `notes` +-- + +LOCK TABLES `notes` WRITE; +/*!40000 ALTER TABLE `notes` DISABLE KEYS */; +/*!40000 ALTER TABLE `notes` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `nouns` +-- + +DROP TABLE IF EXISTS `nouns`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `nouns` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `genus_scope` int(11) NOT NULL, + `word_id` bigint(20) unsigned NOT NULL, + `plural_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `nouns_word_id_foreign` (`word_id`), + KEY `nouns_plural_id_foreign` (`plural_id`), + CONSTRAINT `nouns_plural_id_foreign` FOREIGN KEY (`plural_id`) REFERENCES `words` (`id`), + CONSTRAINT `nouns_word_id_foreign` FOREIGN KEY (`word_id`) REFERENCES `words` (`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 `nouns` +-- + +LOCK TABLES `nouns` WRITE; +/*!40000 ALTER TABLE `nouns` DISABLE KEYS */; +INSERT INTO `nouns` VALUES +(1,'2024-03-26 17:51:08','2024-03-26 17:51:08',2021,1,2); +/*!40000 ALTER TABLE `nouns` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `password_reset_tokens` +-- + +DROP TABLE IF EXISTS `password_reset_tokens`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `password_reset_tokens` ( + `email` varchar(255) NOT NULL, + `token` varchar(255) NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + PRIMARY KEY (`email`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `password_reset_tokens` +-- + +LOCK TABLES `password_reset_tokens` WRITE; +/*!40000 ALTER TABLE `password_reset_tokens` DISABLE KEYS */; +/*!40000 ALTER TABLE `password_reset_tokens` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `phrases` +-- + +DROP TABLE IF EXISTS `phrases`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `phrases` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `phrase` text NOT NULL, + `language_scope` int(11) NOT NULL, + `word_id` bigint(20) unsigned DEFAULT NULL, + `baselanguage_id` bigint(20) unsigned DEFAULT NULL, + `owner_id` bigint(20) unsigned DEFAULT NULL, + `verifiedby_id` bigint(20) unsigned DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `phrases_word_id_foreign` (`word_id`), + KEY `phrases_baselanguage_id_foreign` (`baselanguage_id`), + KEY `phrases_owner_id_foreign` (`owner_id`), + KEY `phrases_verifiedby_id_foreign` (`verifiedby_id`), + CONSTRAINT `phrases_baselanguage_id_foreign` FOREIGN KEY (`baselanguage_id`) REFERENCES `phrases` (`id`), + CONSTRAINT `phrases_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`), + CONSTRAINT `phrases_verifiedby_id_foreign` FOREIGN KEY (`verifiedby_id`) REFERENCES `users` (`id`), + CONSTRAINT `phrases_word_id_foreign` FOREIGN KEY (`word_id`) REFERENCES `words` (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `phrases` +-- + +LOCK TABLES `phrases` WRITE; +/*!40000 ALTER TABLE `phrases` DISABLE KEYS */; +INSERT INTO `phrases` VALUES +(1,'2024-03-26 17:51:08','2024-03-26 17:55:56','Der Bauer fährt Traktor.',1201,1,NULL,3,NULL), +(3,'2024-03-26 18:00:52','2024-03-26 18:00:52','Ich lese ein Buch.',1201,6,NULL,3,NULL), +(4,'2024-03-26 18:03:12','2024-03-26 18:09:02','Wir lesen das Buch.',1201,7,NULL,3,NULL), +(5,'2024-03-26 18:09:28','2024-03-26 18:09:28','.',1201,8,NULL,3,NULL), +(6,'2024-03-26 18:14:34','2024-03-26 18:14:34','.',1201,9,NULL,3,NULL), +(7,'2024-03-26 18:21:29','2024-03-26 18:21:29','.',1201,10,NULL,3,NULL); +/*!40000 ALTER TABLE `phrases` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `roles` +-- + +DROP TABLE IF EXISTS `roles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `roles` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `name` varchar(64) NOT NULL, + `priority` tinyint(4) NOT 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 `roles` +-- + +LOCK TABLES `roles` WRITE; +/*!40000 ALTER TABLE `roles` DISABLE KEYS */; +INSERT INTO `roles` VALUES +(1,NULL,NULL,'Administrator',10), +(2,NULL,NULL,'Manager',20), +(3,NULL,'2024-03-24 07:19:47','User',50), +(4,NULL,NULL,'Guest',90), +(5,NULL,NULL,'Tutor',30), +(6,'2024-03-24 07:30:26','2024-03-24 07:30:26','Student',40); +/*!40000 ALTER TABLE `roles` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `sessions` +-- + +DROP TABLE IF EXISTS `sessions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `sessions` ( + `id` varchar(255) NOT NULL, + `user_id` bigint(20) unsigned DEFAULT NULL, + `ip_address` varchar(45) DEFAULT NULL, + `user_agent` text DEFAULT NULL, + `payload` longtext NOT NULL, + `last_activity` int(11) NOT NULL, + PRIMARY KEY (`id`), + KEY `sessions_user_id_index` (`user_id`), + KEY `sessions_last_activity_index` (`last_activity`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `sessions` +-- + +LOCK TABLES `sessions` WRITE; +/*!40000 ALTER TABLE `sessions` DISABLE KEYS */; +INSERT INTO `sessions` VALUES +('0kC5Ywq7H58WsVmCOxEVJ0RhW4KBb4hqpRK006yr',3,'127.0.0.1','Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0','YTo2OntzOjY6Il90b2tlbiI7czo0MDoiQTBDRWI0QUl3VVU0bXdKS2YwZEg1bGoycFFXT3FlRlgwNTBuUFlPWSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjk6Imh0dHA6Ly93b3J4ZXIudGVzdC93b3JkLWluZGV4Ijt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czozNzoiaHR0cDovL3dvcnhlci50ZXN0L21lbnVpdGVtLW1lbnVfbWFpbiI7fXM6NTA6ImxvZ2luX3dlYl81OWJhMzZhZGRjMmIyZjk0MDE1ODBmMDE0YzdmNThlYTRlMzA5ODlkIjtpOjM7czo4OiJ1c2VyTmFtZSI7czoyOiJIbSI7fQ==',1711482193); +/*!40000 ALTER TABLE `sessions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `sproperties` +-- + +DROP TABLE IF EXISTS `sproperties`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `sproperties` ( + `id` int(11) NOT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `scope` varchar(255) NOT NULL, + `name` varchar(255) NOT NULL, + `order` int(11) NOT NULL, + `shortname` varchar(255) NOT NULL, + `value` varchar(255) DEFAULT NULL, + `info` varchar(255) 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 `sproperties` +-- + +LOCK TABLES `sproperties` WRITE; +/*!40000 ALTER TABLE `sproperties` DISABLE KEYS */; +INSERT INTO `sproperties` VALUES +(1001,NULL,NULL,'status','active',10,'A',NULL,NULL), +(1002,NULL,NULL,'status','inactive',20,'I',NULL,NULL), +(1011,NULL,NULL,'notestatus','open',10,'O',NULL,NULL), +(1012,NULL,NULL,'notestatus','closed',20,'C',NULL,NULL), +(1051,NULL,NULL,'category','standard',10,'Std',NULL,NULL), +(1052,NULL,NULL,'category','private',20,'P',NULL,NULL), +(1053,NULL,NULL,'category','work',30,'W',NULL,NULL), +(1091,NULL,NULL,'visibility','public',10,'PU',NULL,NULL), +(1092,NULL,NULL,'visibility','private',20,'PV',NULL,NULL), +(1101,NULL,NULL,'filegroup','public',10,'P',NULL,NULL), +(1102,NULL,NULL,'filegroup','private',20,'P',NULL,NULL), +(1201,NULL,NULL,'localization','English (Britisch)',10,'en_GR',NULL,NULL), +(1202,NULL,NULL,'localization','German (Germany)',20,'de_DE',NULL,NULL), +(1203,NULL,NULL,'localization','French (France)',30,'fr_FR',NULL,NULL), +(1204,NULL,NULL,'localization','Italian (Italy)',40,'it_IT',NULL,NULL), +(2001,NULL,NULL,'wordtype','Noun',10,'N',NULL,NULL), +(2002,NULL,NULL,'wordtype','Verb',20,'V',NULL,NULL), +(2003,NULL,NULL,'wordtype','Adjective',30,'Adj',NULL,NULL), +(2004,NULL,NULL,'wordtype','Preposition',40,'Prep',NULL,NULL), +(2021,NULL,NULL,'genus','masculine',10,'m',NULL,NULL), +(2022,NULL,NULL,'genus','feminine',20,'f',NULL,NULL), +(2023,NULL,NULL,'genus','neuter',30,'n',NULL,NULL); +/*!40000 ALTER TABLE `sproperties` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `terms` +-- + +DROP TABLE IF EXISTS `terms`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `terms` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `title` varchar(255) NOT NULL, + `term` timestamp NOT NULL, + `duration` int(11) NOT NULL, + `description` text NOT NULL, + `visibility_scope` int(11) NOT NULL, + `owner_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `terms_owner_id_foreign` (`owner_id`), + CONSTRAINT `terms_owner_id_foreign` FOREIGN KEY (`owner_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 `terms` +-- + +LOCK TABLES `terms` WRITE; +/*!40000 ALTER TABLE `terms` DISABLE KEYS */; +/*!40000 ALTER TABLE `terms` 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` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(255) NOT NULL, + `email` varchar(255) NOT NULL, + `email_verified_at` timestamp NULL DEFAULT NULL, + `password` varchar(255) NOT NULL, + `remember_token` varchar(100) DEFAULT NULL, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `role_id` bigint(20) unsigned DEFAULT NULL, + `localization` varchar(8) DEFAULT 'en_GB', + PRIMARY KEY (`id`), + UNIQUE KEY `users_email_unique` (`email`), + KEY `users_role_id_foreign` (`role_id`), + CONSTRAINT `users_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE SET NULL ON UPDATE CASCADE +) 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,'Administrator','administrator@example.com',NULL,'$2y$12$EPBBm/bUp0uU7gw32ZuGhu2aA.S3RW4byC83BFI9poxF5bemtm7vy',NULL,NULL,NULL,1,'en_GB'), +(2,'Guest','guest@example.com',NULL,'$2y$12$rVfpmWPdw0sMWpI6.akJb.O8wnY6EOXZCil3vhyUPBYP2aPX9ZniW',NULL,NULL,NULL,4,'en_GB'), +(3,'Hm','hm@hamatoma.de',NULL,'$2y$12$pVTh3agLyThFxtHSjpRjRu3h1ZSypcNEsVv2cBlossIFIDjknUU9S','TQTFksPhY1V6RbY5Dj0GwzHtNTUqFp2H0e3YfXluCRiwC5C76Kq40f2gOsp8','2024-03-21 17:45:37','2024-03-24 06:55:24',1,'en_GR'), +(4,'Jonny','jonny@hamatoma.de',NULL,'$2y$12$pSb/tqYgB/9S.adqDD9CjeJ45dNWNEyn6lhbTvIg2FnFXZN7aazKu',NULL,'2024-03-24 06:26:15','2024-03-24 06:54:24',1,'en_GR'); +/*!40000 ALTER TABLE `users` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `verbs` +-- + +DROP TABLE IF EXISTS `verbs`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `verbs` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `word_id` bigint(20) unsigned NOT NULL, + `presence1s` varchar(32) NOT NULL, + `presence2s` varchar(32) NOT NULL, + `presence3s` varchar(32) NOT NULL, + `presence1p` varchar(32) NOT NULL, + `presence2p` varchar(32) NOT NULL, + `presence3p` varchar(32) NOT NULL, + `imperfect1s` varchar(32) NOT NULL, + `imperfect2s` varchar(32) NOT NULL, + `imperfect3s` varchar(32) NOT NULL, + `imperfect1p` varchar(32) NOT NULL, + `imperfect2p` varchar(32) NOT NULL, + `imperfect3p` varchar(32) NOT NULL, + `participle` varchar(32) NOT NULL, + `separablepart` varchar(16) DEFAULT NULL, + `transitive` tinyint(1) NOT NULL, + `options` varchar(255) DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `verbs_word_id_foreign` (`word_id`), + CONSTRAINT `verbs_word_id_foreign` FOREIGN KEY (`word_id`) REFERENCES `words` (`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 `verbs` +-- + +LOCK TABLES `verbs` WRITE; +/*!40000 ALTER TABLE `verbs` DISABLE KEYS */; +INSERT INTO `verbs` VALUES +(1,'2024-03-26 18:03:12','2024-03-26 18:09:02',7,'lese','liest','liest','lesen','lest','lesen','las','last','las','lasen','last','lasen','gelesen',NULL,1,NULL); +/*!40000 ALTER TABLE `verbs` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `words` +-- + +DROP TABLE IF EXISTS `words`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `words` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `created_at` timestamp NULL DEFAULT NULL, + `updated_at` timestamp NULL DEFAULT NULL, + `word` varchar(64) NOT NULL, + `wordtype_scope` int(11) NOT NULL, + `language_scope` int(11) NOT NULL, + `baselanguage_id` bigint(20) unsigned DEFAULT NULL, + `owner_id` bigint(20) unsigned DEFAULT NULL, + `verifiedby_id` bigint(20) unsigned DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `words_baselanguage_id_foreign` (`baselanguage_id`), + KEY `words_owner_id_foreign` (`owner_id`), + KEY `words_verifiedby_id_foreign` (`verifiedby_id`), + CONSTRAINT `words_baselanguage_id_foreign` FOREIGN KEY (`baselanguage_id`) REFERENCES `words` (`id`), + CONSTRAINT `words_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`), + CONSTRAINT `words_verifiedby_id_foreign` FOREIGN KEY (`verifiedby_id`) REFERENCES `users` (`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 `words` +-- + +LOCK TABLES `words` WRITE; +/*!40000 ALTER TABLE `words` DISABLE KEYS */; +INSERT INTO `words` VALUES +(1,'2024-03-26 17:51:08','2024-03-26 17:51:08','Bauer',2001,1201,NULL,3,NULL), +(2,'2024-03-26 17:51:08','2024-03-26 17:55:56','Bauern',2001,1201,NULL,3,NULL), +(4,'2024-03-26 17:57:50','2024-03-26 17:57:50','Dummies',2001,1201,NULL,3,NULL), +(5,'2024-03-26 17:59:23','2024-03-26 17:59:23','lesen',2001,1201,NULL,3,NULL), +(6,'2024-03-26 18:00:52','2024-03-26 18:00:52','lesen',2001,1201,NULL,3,NULL), +(7,'2024-03-26 18:03:12','2024-03-26 18:03:12','lesen',2001,1201,NULL,3,NULL), +(8,'2024-03-26 18:09:28','2024-03-26 18:09:28','Dumm',2001,1201,NULL,3,NULL), +(9,'2024-03-26 18:14:34','2024-03-26 18:14:34','Dumm',2001,1201,NULL,3,NULL), +(10,'2024-03-26 18:21:29','2024-03-26 18:21:29','Dumm',2001,1201,NULL,3,NULL); +/*!40000 ALTER TABLE `words` 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 2024-03-27 18:48:15