diff --git a/defaultDatabase.sql b/defaultDatabase.sql new file mode 100644 index 0000000..d4e101e --- /dev/null +++ b/defaultDatabase.sql @@ -0,0 +1,150 @@ +/*!999999\- enable the sandbox mode */ +-- MariaDB dump 10.19 Distrib 10.11.8-MariaDB, for debian-linux-gnu (x86_64) +-- +-- Host: localhost Database: trigger_database +-- ------------------------------------------------------ +-- Server version 10.11.8-MariaDB-0ubuntu0.24.04.1 + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES 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 `apps` +-- + +DROP TABLE IF EXISTS `apps`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `apps` ( + `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + `url` varchar(50) NOT NULL, + `icon` varchar(50) NOT NULL, + `baseUrl` varchar(50) NOT NULL, + `filterName` varchar(50) NOT NULL, + `index` int(11) DEFAULT 0, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `linkCategories` +-- + +DROP TABLE IF EXISTS `linkCategories`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `linkCategories` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `categoryName` varchar(50) NOT NULL, + `categoryIndex` int(11) NOT NULL DEFAULT 0, + `filterName` varchar(50) NOT NULL DEFAULT 'Default', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `links` +-- + +DROP TABLE IF EXISTS `links`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `links` ( + `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + `url` varchar(250) NOT NULL, + `index` int(11) NOT NULL DEFAULT 0, + `category` varchar(100) NOT NULL DEFAULT 'Default', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=182 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `messages` +-- + +DROP TABLE IF EXISTS `messages`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `messages` ( + `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT, + `message` varchar(250) NOT NULL, + `customGreeting` tinyint(1) DEFAULT 1, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=36 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `personalData` +-- + +DROP TABLE IF EXISTS `personalData`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `personalData` ( + `firstName` varchar(50) NOT NULL DEFAULT 'First', + `lastName` varchar(50) NOT NULL DEFAULT 'Last', + `email` varchar(50) NOT NULL DEFAULT 'triggerUser@default.com' +) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `providers` +-- + +DROP TABLE IF EXISTS `providers`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `providers` ( + `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + `url` varchar(250) NOT NULL, + `prefix` varchar(50) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Table structure for table `themes` +-- + +DROP TABLE IF EXISTS `themes`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `themes` ( + `id` int(10) unsigned zerofill NOT NULL AUTO_INCREMENT, + `name` varchar(250) NOT NULL, + `backgroundImage` text NOT NULL, + `backgroundColor` varchar(9) NOT NULL, + `searchColor` varchar(9) NOT NULL, + `primaryColor` varchar(9) NOT NULL, + `accentColor` varchar(9) NOT NULL, + `borderColor` varchar(9) NOT NULL, + `randomEnabled` tinyint(1) NOT NULL DEFAULT 0, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping routines for database 'trigger_database' +-- +/*!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 2025-01-17 11:38:18