]> jfr.im git - erebus.git/blobdiff - dump.sql
start work on sockets module, not ready to use yet
[erebus.git] / dump.sql
index 9997c502c5721bc64d2f1300b24ab0a6d068c822..c4962cd8dbc98d4d4fe01bd43848ea92d9e81b3f 100644 (file)
--- a/dump.sql
+++ b/dump.sql
@@ -1,13 +1,13 @@
--- MySQL dump 10.13  Distrib 5.1.72, for debian-linux-gnu (i486)
+-- MariaDB dump 10.19  Distrib 10.11.4-MariaDB, for debian-linux-gnu (x86_64)
 --
--- Host: localhost    Database: erebus
+-- Host: localhost    Database: erebus2
 -- ------------------------------------------------------
--- Server version      5.1.72-2
+-- Server version      10.11.4-MariaDB-1~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 utf8 */;
+/*!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 */;
@@ -26,10 +26,12 @@ CREATE TABLE `bots` (
   `nick` varchar(30) NOT NULL,
   `user` varchar(10) NOT NULL DEFAULT 'erebus',
   `bind` varchar(15) DEFAULT NULL,
-  `active` tinyint(1) NOT NULL DEFAULT '1',
-  `connected` tinyint(1) NOT NULL DEFAULT '0',
+  `authname` varchar(30) DEFAULT NULL,
+  `authpass` varchar(20) DEFAULT NULL,
+  `active` tinyint(1) NOT NULL DEFAULT 1,
+  `connected` tinyint(1) NOT NULL DEFAULT 0,
   PRIMARY KEY (`nick`)
-) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 
 --
@@ -38,7 +40,8 @@ CREATE TABLE `bots` (
 
 LOCK TABLES `bots` WRITE;
 /*!40000 ALTER TABLE `bots` DISABLE KEYS */;
-INSERT INTO `bots` VALUES ('Erebus','erebus',NULL,1,0);
+INSERT INTO `bots` VALUES
+('Erebus','Erebus',NULL,'Erebus','',1,0);
 /*!40000 ALTER TABLE `bots` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -52,10 +55,10 @@ DROP TABLE IF EXISTS `chans`;
 CREATE TABLE `chans` (
   `chname` varchar(100) NOT NULL,
   `bot` varchar(30) NOT NULL,
-  `active` tinyint(1) NOT NULL DEFAULT '1',
+  `active` tinyint(1) NOT NULL DEFAULT 1,
   PRIMARY KEY (`chname`),
   KEY `bot` (`bot`)
-) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
 /*!40101 SET character_set_client = @saved_cs_client */;
 
 --
@@ -64,9 +67,61 @@ CREATE TABLE `chans` (
 
 LOCK TABLES `chans` WRITE;
 /*!40000 ALTER TABLE `chans` DISABLE KEYS */;
-INSERT INTO `chans` VALUES ('#dimetest','Erebus',1);
+INSERT INTO `chans` VALUES
+('#','Erebus',1);
 /*!40000 ALTER TABLE `chans` ENABLE KEYS */;
 UNLOCK TABLES;
+
+--
+-- Table structure for table `chusers`
+--
+
+DROP TABLE IF EXISTS `chusers`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `chusers` (
+  `chan` varchar(100) NOT NULL,
+  `user` varchar(30) NOT NULL,
+  `level` int(11) NOT NULL,
+  PRIMARY KEY (`chan`,`user`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `chusers`
+--
+
+LOCK TABLES `chusers` WRITE;
+/*!40000 ALTER TABLE `chusers` DISABLE KEYS */;
+INSERT INTO `chusers` VALUES
+('#','dimecadmium',5);
+/*!40000 ALTER TABLE `chusers` 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` (
+  `auth` varchar(30) NOT NULL,
+  `level` tinyint(3) unsigned NOT NULL,
+  PRIMARY KEY (`auth`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_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
+('dimecadmium',100);
+/*!40000 ALTER TABLE `users` ENABLE KEYS */;
+UNLOCK TABLES;
 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
 
 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
@@ -77,4 +132,4 @@ UNLOCK TABLES;
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
--- Dump completed on 2013-11-26 14:59:42
+-- Dump completed on 2023-11-16 13:28:38