Updated to utf8mb4 encoding

This commit is contained in:
2026-02-19 14:28:10 -05:00
parent 01fd47814b
commit 41c5b4560b

View File

@@ -1,8 +1,9 @@
-- MariaDB dump 10.19 Distrib 10.6.18-MariaDB, for debian-linux-gnu (x86_64) /*M!999999\- enable the sandbox mode */
-- MariaDB dump 10.19-11.8.3-MariaDB, for debian-linux-gnu (x86_64)
-- --
-- Host: localhost Database: ol521 -- Host: localhost Database: openlog
-- ------------------------------------------------------ -- ------------------------------------------------------
-- Server version 10.6.18-MariaDB-0ubuntu0.22.04.1 -- Server version 11.8.3-MariaDB-0+deb13u1 from Debian
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */
; ;
@@ -22,7 +23,7 @@
; ;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */
; ;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */ /*M!100616 SET @OLD_NOTE_VERBOSITY=@@NOTE_VERBOSITY, NOTE_VERBOSITY=0 */
; ;
-- --
@@ -32,7 +33,7 @@
DROP TABLE IF EXISTS `banners`; DROP TABLE IF EXISTS `banners`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `banners` ( CREATE TABLE `banners` (
`bannerid` int(11) NOT NULL AUTO_INCREMENT, `bannerid` int(11) NOT NULL AUTO_INCREMENT,
@@ -51,6 +52,8 @@ CREATE TABLE `banners` (
LOCK TABLES `banners` WRITE; LOCK TABLES `banners` WRITE;
/*!40000 ALTER TABLE `banners` DISABLE KEYS */ /*!40000 ALTER TABLE `banners` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO INSERT INTO
`banners` `banners`
VALUES ( VALUES (
@@ -87,6 +90,8 @@ VALUES (
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `configs` -- Table structure for table `configs`
-- --
@@ -94,14 +99,14 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `configs`; DROP TABLE IF EXISTS `configs`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `configs` ( CREATE TABLE `configs` (
`confid` int(11) NOT NULL AUTO_INCREMENT, `confid` int(11) NOT NULL AUTO_INCREMENT,
`confname` text DEFAULT NULL, `confname` text DEFAULT NULL,
`confvalue` text DEFAULT NULL, `confvalue` text DEFAULT NULL,
PRIMARY KEY (`confid`), PRIMARY KEY (`confid`),
UNIQUE (`confname`) UNIQUE KEY `confname` (`confname`) USING HASH
) ENGINE = InnoDB AUTO_INCREMENT = 33 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci; ) ENGINE = InnoDB AUTO_INCREMENT = 33 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */ /*!40101 SET character_set_client = @saved_cs_client */
; ;
@@ -113,6 +118,8 @@ CREATE TABLE `configs` (
LOCK TABLES `configs` WRITE; LOCK TABLES `configs` WRITE;
/*!40000 ALTER TABLE `configs` DISABLE KEYS */ /*!40000 ALTER TABLE `configs` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO INSERT INTO
`configs` `configs`
VALUES (1, 'ol_version', '5.2.4'), VALUES (1, 'ol_version', '5.2.4'),
@@ -197,6 +204,8 @@ VALUES (1, 'ol_version', '5.2.4'),
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `customs` -- Table structure for table `customs`
-- --
@@ -204,7 +213,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `customs`; DROP TABLE IF EXISTS `customs`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `customs` ( CREATE TABLE `customs` (
`customid` int(11) NOT NULL AUTO_INCREMENT, `customid` int(11) NOT NULL AUTO_INCREMENT,
@@ -223,10 +232,13 @@ CREATE TABLE `customs` (
LOCK TABLES `customs` WRITE; LOCK TABLES `customs` WRITE;
/*!40000 ALTER TABLE `customs` DISABLE KEYS */ /*!40000 ALTER TABLE `customs` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `customs` ENABLE KEYS */ /*!40000 ALTER TABLE `customs` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `devicegroups` -- Table structure for table `devicegroups`
-- --
@@ -234,7 +246,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `devicegroups`; DROP TABLE IF EXISTS `devicegroups`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `devicegroups` ( CREATE TABLE `devicegroups` (
`groupid` int(11) NOT NULL AUTO_INCREMENT, `groupid` int(11) NOT NULL AUTO_INCREMENT,
@@ -252,10 +264,13 @@ CREATE TABLE `devicegroups` (
LOCK TABLES `devicegroups` WRITE; LOCK TABLES `devicegroups` WRITE;
/*!40000 ALTER TABLE `devicegroups` DISABLE KEYS */ /*!40000 ALTER TABLE `devicegroups` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `devicegroups` ENABLE KEYS */ /*!40000 ALTER TABLE `devicegroups` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `devices` -- Table structure for table `devices`
-- --
@@ -263,7 +278,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `devices`; DROP TABLE IF EXISTS `devices`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `devices` ( CREATE TABLE `devices` (
`deviceid` int(11) NOT NULL AUTO_INCREMENT, `deviceid` int(11) NOT NULL AUTO_INCREMENT,
@@ -283,10 +298,13 @@ CREATE TABLE `devices` (
LOCK TABLES `devices` WRITE; LOCK TABLES `devices` WRITE;
/*!40000 ALTER TABLE `devices` DISABLE KEYS */ /*!40000 ALTER TABLE `devices` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `devices` ENABLE KEYS */ /*!40000 ALTER TABLE `devices` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `events` -- Table structure for table `events`
-- --
@@ -294,7 +312,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `events`; DROP TABLE IF EXISTS `events`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `events` ( CREATE TABLE `events` (
`eventid` int(11) NOT NULL AUTO_INCREMENT, `eventid` int(11) NOT NULL AUTO_INCREMENT,
@@ -317,40 +335,12 @@ CREATE TABLE `events` (
LOCK TABLES `events` WRITE; LOCK TABLES `events` WRITE;
/*!40000 ALTER TABLE `events` DISABLE KEYS */ /*!40000 ALTER TABLE `events` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `events` ENABLE KEYS */ /*!40000 ALTER TABLE `events` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
-- commit;
-- Table structure for table `flags`
--
DROP TABLE IF EXISTS `flags`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE TABLE `flags` (
`flagid` int(11) NOT NULL AUTO_INCREMENT,
`flagname` tinytext DEFAULT NULL,
`flagsym` tinytext DEFAULT NULL,
`flagcolor` tinytext DEFAULT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`flagid`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Dumping data for table `flags`
--
LOCK TABLES `flags` WRITE;
/*!40000 ALTER TABLE `flags` DISABLE KEYS */
;
/*!40000 ALTER TABLE `flags` ENABLE KEYS */
;
UNLOCK TABLES;
-- --
-- Table structure for table `flagmap` -- Table structure for table `flagmap`
@@ -359,7 +349,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `flagmap`; DROP TABLE IF EXISTS `flagmap`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `flagmap` ( CREATE TABLE `flagmap` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
@@ -379,10 +369,47 @@ CREATE TABLE `flagmap` (
LOCK TABLES `flagmap` WRITE; LOCK TABLES `flagmap` WRITE;
/*!40000 ALTER TABLE `flagmap` DISABLE KEYS */ /*!40000 ALTER TABLE `flagmap` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `flagmap` ENABLE KEYS */ /*!40000 ALTER TABLE `flagmap` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
--
-- Table structure for table `flags`
--
DROP TABLE IF EXISTS `flags`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8mb4 */
;
CREATE TABLE `flags` (
`flagid` int(11) NOT NULL AUTO_INCREMENT,
`flagname` tinytext DEFAULT NULL,
`flagsym` tinytext DEFAULT NULL,
`flagcolor` tinytext DEFAULT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`flagid`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Dumping data for table `flags`
--
LOCK TABLES `flags` WRITE;
/*!40000 ALTER TABLE `flags` DISABLE KEYS */
;
set autocommit = 0;
/*!40000 ALTER TABLE `flags` ENABLE KEYS */
;
UNLOCK TABLES;
commit;
-- --
-- Table structure for table `links` -- Table structure for table `links`
-- --
@@ -390,7 +417,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `links`; DROP TABLE IF EXISTS `links`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `links` ( CREATE TABLE `links` (
`linkid` int(11) NOT NULL AUTO_INCREMENT, `linkid` int(11) NOT NULL AUTO_INCREMENT,
@@ -410,10 +437,13 @@ CREATE TABLE `links` (
LOCK TABLES `links` WRITE; LOCK TABLES `links` WRITE;
/*!40000 ALTER TABLE `links` DISABLE KEYS */ /*!40000 ALTER TABLE `links` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `links` ENABLE KEYS */ /*!40000 ALTER TABLE `links` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `lognotes` -- Table structure for table `lognotes`
-- --
@@ -421,7 +451,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `lognotes`; DROP TABLE IF EXISTS `lognotes`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `lognotes` ( CREATE TABLE `lognotes` (
`lognoteid` int(11) NOT NULL AUTO_INCREMENT, `lognoteid` int(11) NOT NULL AUTO_INCREMENT,
@@ -443,39 +473,12 @@ CREATE TABLE `lognotes` (
LOCK TABLES `lognotes` WRITE; LOCK TABLES `lognotes` WRITE;
/*!40000 ALTER TABLE `lognotes` DISABLE KEYS */ /*!40000 ALTER TABLE `lognotes` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `lognotes` ENABLE KEYS */ /*!40000 ALTER TABLE `lognotes` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
-- commit;
-- Table structure for table `reflinks`
--
DROP TABLE IF EXISTS `reflinks`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8 */
;
CREATE TABLE `reflinks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`noteid` int(11) DEFAULT NULL,
`templateid` int(11) DEFAULT NULL,
`target` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Dumping data for table `reflinks`
--
LOCK TABLES `reflinks` WRITE;
/*!40000 ALTER TABLE `reflinks` DISABLE KEYS */
;
/*!40000 ALTER TABLE `reflinks` ENABLE KEYS */
;
UNLOCK TABLES;
-- --
-- Table structure for table `logpartactions` -- Table structure for table `logpartactions`
@@ -484,7 +487,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `logpartactions`; DROP TABLE IF EXISTS `logpartactions`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `logpartactions` ( CREATE TABLE `logpartactions` (
`lpactionid` int(11) NOT NULL AUTO_INCREMENT, `lpactionid` int(11) NOT NULL AUTO_INCREMENT,
@@ -502,6 +505,8 @@ CREATE TABLE `logpartactions` (
LOCK TABLES `logpartactions` WRITE; LOCK TABLES `logpartactions` WRITE;
/*!40000 ALTER TABLE `logpartactions` DISABLE KEYS */ /*!40000 ALTER TABLE `logpartactions` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO INSERT INTO
`logpartactions` `logpartactions`
VALUES (1, 'removed', 1), VALUES (1, 'removed', 1),
@@ -514,6 +519,8 @@ VALUES (1, 'removed', 1),
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `logparts` -- Table structure for table `logparts`
-- --
@@ -521,7 +528,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `logparts`; DROP TABLE IF EXISTS `logparts`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `logparts` ( CREATE TABLE `logparts` (
`logpartid` int(11) NOT NULL AUTO_INCREMENT, `logpartid` int(11) NOT NULL AUTO_INCREMENT,
@@ -540,10 +547,13 @@ CREATE TABLE `logparts` (
LOCK TABLES `logparts` WRITE; LOCK TABLES `logparts` WRITE;
/*!40000 ALTER TABLE `logparts` DISABLE KEYS */ /*!40000 ALTER TABLE `logparts` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `logparts` ENABLE KEYS */ /*!40000 ALTER TABLE `logparts` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `maintactions` -- Table structure for table `maintactions`
-- --
@@ -551,7 +561,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `maintactions`; DROP TABLE IF EXISTS `maintactions`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `maintactions` ( CREATE TABLE `maintactions` (
`maintactionid` int(11) NOT NULL AUTO_INCREMENT, `maintactionid` int(11) NOT NULL AUTO_INCREMENT,
@@ -572,10 +582,13 @@ CREATE TABLE `maintactions` (
LOCK TABLES `maintactions` WRITE; LOCK TABLES `maintactions` WRITE;
/*!40000 ALTER TABLE `maintactions` DISABLE KEYS */ /*!40000 ALTER TABLE `maintactions` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `maintactions` ENABLE KEYS */ /*!40000 ALTER TABLE `maintactions` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `maintforms` -- Table structure for table `maintforms`
-- --
@@ -583,7 +596,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `maintforms`; DROP TABLE IF EXISTS `maintforms`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `maintforms` ( CREATE TABLE `maintforms` (
`maintformid` int(11) NOT NULL AUTO_INCREMENT, `maintformid` int(11) NOT NULL AUTO_INCREMENT,
@@ -609,10 +622,13 @@ CREATE TABLE `maintforms` (
LOCK TABLES `maintforms` WRITE; LOCK TABLES `maintforms` WRITE;
/*!40000 ALTER TABLE `maintforms` DISABLE KEYS */ /*!40000 ALTER TABLE `maintforms` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `maintforms` ENABLE KEYS */ /*!40000 ALTER TABLE `maintforms` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `notetemplates` -- Table structure for table `notetemplates`
-- --
@@ -620,7 +636,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `notetemplates`; DROP TABLE IF EXISTS `notetemplates`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `notetemplates` ( CREATE TABLE `notetemplates` (
`templateid` int(11) NOT NULL AUTO_INCREMENT, `templateid` int(11) NOT NULL AUTO_INCREMENT,
@@ -642,10 +658,13 @@ CREATE TABLE `notetemplates` (
LOCK TABLES `notetemplates` WRITE; LOCK TABLES `notetemplates` WRITE;
/*!40000 ALTER TABLE `notetemplates` DISABLE KEYS */ /*!40000 ALTER TABLE `notetemplates` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `notetemplates` ENABLE KEYS */ /*!40000 ALTER TABLE `notetemplates` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `parts` -- Table structure for table `parts`
-- --
@@ -653,7 +672,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `parts`; DROP TABLE IF EXISTS `parts`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `parts` ( CREATE TABLE `parts` (
`partid` int(11) NOT NULL AUTO_INCREMENT, `partid` int(11) NOT NULL AUTO_INCREMENT,
@@ -673,10 +692,46 @@ CREATE TABLE `parts` (
LOCK TABLES `parts` WRITE; LOCK TABLES `parts` WRITE;
/*!40000 ALTER TABLE `parts` DISABLE KEYS */ /*!40000 ALTER TABLE `parts` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `parts` ENABLE KEYS */ /*!40000 ALTER TABLE `parts` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
--
-- Table structure for table `reflinks`
--
DROP TABLE IF EXISTS `reflinks`;
/*!40101 SET @saved_cs_client = @@character_set_client */
;
/*!40101 SET character_set_client = utf8mb4 */
;
CREATE TABLE `reflinks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`noteid` int(11) DEFAULT NULL,
`templateid` int(11) DEFAULT NULL,
`target` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */
;
--
-- Dumping data for table `reflinks`
--
LOCK TABLES `reflinks` WRITE;
/*!40000 ALTER TABLE `reflinks` DISABLE KEYS */
;
set autocommit = 0;
/*!40000 ALTER TABLE `reflinks` ENABLE KEYS */
;
UNLOCK TABLES;
commit;
-- --
-- Table structure for table `shifts` -- Table structure for table `shifts`
-- --
@@ -684,7 +739,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `shifts`; DROP TABLE IF EXISTS `shifts`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `shifts` ( CREATE TABLE `shifts` (
`shiftid` int(11) NOT NULL AUTO_INCREMENT, `shiftid` int(11) NOT NULL AUTO_INCREMENT,
@@ -702,11 +757,15 @@ CREATE TABLE `shifts` (
LOCK TABLES `shifts` WRITE; LOCK TABLES `shifts` WRITE;
/*!40000 ALTER TABLE `shifts` DISABLE KEYS */ /*!40000 ALTER TABLE `shifts` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO `shifts` VALUES (1, 'First Shift', 1); INSERT INTO `shifts` VALUES (1, 'First Shift', 1);
/*!40000 ALTER TABLE `shifts` ENABLE KEYS */ /*!40000 ALTER TABLE `shifts` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `styles` -- Table structure for table `styles`
-- --
@@ -714,7 +773,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `styles`; DROP TABLE IF EXISTS `styles`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `styles` ( CREATE TABLE `styles` (
`styleid` int(11) NOT NULL AUTO_INCREMENT, `styleid` int(11) NOT NULL AUTO_INCREMENT,
@@ -732,6 +791,8 @@ CREATE TABLE `styles` (
LOCK TABLES `styles` WRITE; LOCK TABLES `styles` WRITE;
/*!40000 ALTER TABLE `styles` DISABLE KEYS */ /*!40000 ALTER TABLE `styles` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO INSERT INTO
`styles` `styles`
VALUES (1, 'logdisplay', 'classic'), VALUES (1, 'logdisplay', 'classic'),
@@ -740,6 +801,8 @@ VALUES (1, 'logdisplay', 'classic'),
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `subjects` -- Table structure for table `subjects`
-- --
@@ -747,7 +810,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `subjects`; DROP TABLE IF EXISTS `subjects`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `subjects` ( CREATE TABLE `subjects` (
`subjectid` int(11) NOT NULL AUTO_INCREMENT, `subjectid` int(11) NOT NULL AUTO_INCREMENT,
@@ -765,11 +828,15 @@ CREATE TABLE `subjects` (
LOCK TABLES `subjects` WRITE; LOCK TABLES `subjects` WRITE;
/*!40000 ALTER TABLE `subjects` DISABLE KEYS */ /*!40000 ALTER TABLE `subjects` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO `subjects` VALUES (1, 'Miscellaneous', 1); INSERT INTO `subjects` VALUES (1, 'Miscellaneous', 1);
/*!40000 ALTER TABLE `subjects` ENABLE KEYS */ /*!40000 ALTER TABLE `subjects` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `tasks` -- Table structure for table `tasks`
-- --
@@ -777,7 +844,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `tasks`; DROP TABLE IF EXISTS `tasks`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `tasks` ( CREATE TABLE `tasks` (
`taskid` int(11) NOT NULL AUTO_INCREMENT, `taskid` int(11) NOT NULL AUTO_INCREMENT,
@@ -802,10 +869,13 @@ CREATE TABLE `tasks` (
LOCK TABLES `tasks` WRITE; LOCK TABLES `tasks` WRITE;
/*!40000 ALTER TABLE `tasks` DISABLE KEYS */ /*!40000 ALTER TABLE `tasks` DISABLE KEYS */
; ;
set autocommit = 0;
/*!40000 ALTER TABLE `tasks` ENABLE KEYS */ /*!40000 ALTER TABLE `tasks` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
-- --
-- Table structure for table `techs` -- Table structure for table `techs`
-- --
@@ -813,7 +883,7 @@ UNLOCK TABLES;
DROP TABLE IF EXISTS `techs`; DROP TABLE IF EXISTS `techs`;
/*!40101 SET @saved_cs_client = @@character_set_client */ /*!40101 SET @saved_cs_client = @@character_set_client */
; ;
/*!40101 SET character_set_client = utf8 */ /*!40101 SET character_set_client = utf8mb4 */
; ;
CREATE TABLE `techs` ( CREATE TABLE `techs` (
`techid` int(11) NOT NULL AUTO_INCREMENT, `techid` int(11) NOT NULL AUTO_INCREMENT,
@@ -834,6 +904,8 @@ CREATE TABLE `techs` (
LOCK TABLES `techs` WRITE; LOCK TABLES `techs` WRITE;
/*!40000 ALTER TABLE `techs` DISABLE KEYS */ /*!40000 ALTER TABLE `techs` DISABLE KEYS */
; ;
set autocommit = 0;
INSERT INTO INSERT INTO
`techs` `techs`
VALUES ( VALUES (
@@ -847,6 +919,8 @@ VALUES (
/*!40000 ALTER TABLE `techs` ENABLE KEYS */ /*!40000 ALTER TABLE `techs` ENABLE KEYS */
; ;
UNLOCK TABLES; UNLOCK TABLES;
commit;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */
; ;
@@ -862,7 +936,7 @@ UNLOCK TABLES;
; ;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */
; ;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */ /*M!100616 SET NOTE_VERBOSITY=@OLD_NOTE_VERBOSITY */
; ;
-- Dump completed on 2024-07-09 14:36:00 -- Dump completed on 2026-02-19 14:18:01