1- -- MySQL dump 10.13 Distrib 5.1.73, for redhat-linux-gnu (x86_64)
1+ /*M!999999\- enable the sandbox mode */
2+ -- MariaDB dump 10.19 Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
23--
34-- Host: localhost Database: authen_pause
45-- ------------------------------------------------------
5- -- Server version 5.1.73-log
6+ -- Server version 10.11.14-MariaDB-0+deb12u2
67
78/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
89/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
910/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10- /*!40101 SET NAMES utf8 */;
11+ /*!40101 SET NAMES latin1 */;
1112/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
1213/*!40103 SET TIME_ZONE='+00:00' */;
1314/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
1920-- Table structure for table `abrakadabra`
2021--
2122
23+ DROP TABLE IF EXISTS `abrakadabra`;
2224/*!40101 SET @saved_cs_client = @@character_set_client */;
23- /*!40101 SET character_set_client = utf8 */;
24- CREATE TABLE abrakadabra (
25+ /*!40101 SET character_set_client = utf8mb4 */;
26+ CREATE TABLE ` abrakadabra` (
2527 `user` char(16) NOT NULL DEFAULT '',
26- chpasswd char(32) NOT NULL DEFAULT '',
27- expires datetime DEFAULT NULL,
28+ ` chpasswd` char(32) NOT NULL DEFAULT '',
29+ ` expires` datetime DEFAULT NULL,
2830 PRIMARY KEY (`user`)
29- ) ENGINE=InnoDB DEFAULT CHARSET=latin1 PACK_KEYS=1;
31+ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PACK_KEYS=1;
32+ /*!40101 SET character_set_client = @saved_cs_client */;
33+
34+ --
35+ -- Table structure for table `auth_log`
36+ --
37+
38+ DROP TABLE IF EXISTS `auth_log`;
39+ /*!40101 SET @saved_cs_client = @@character_set_client */;
40+ /*!40101 SET character_set_client = utf8mb4 */;
41+ CREATE TABLE `auth_log` (
42+ `id` int(11) NOT NULL AUTO_INCREMENT,
43+ `user` varchar(9) NOT NULL,
44+ `token_id` varchar(32) DEFAULT '',
45+ `ip` varchar(16) NOT NULL,
46+ `error` text DEFAULT NULL,
47+ `created_at` datetime DEFAULT current_timestamp(),
48+ PRIMARY KEY (`id`),
49+ KEY `user` (`user`,`token_id`),
50+ KEY `user_2` (`user`,`ip`)
51+ ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
52+ /*!40101 SET character_set_client = @saved_cs_client */;
53+
54+ --
55+ -- Table structure for table `auth_tokens`
56+ --
57+
58+ DROP TABLE IF EXISTS `auth_tokens`;
59+ /*!40101 SET @saved_cs_client = @@character_set_client */;
60+ /*!40101 SET character_set_client = utf8mb4 */;
61+ CREATE TABLE `auth_tokens` (
62+ `id` int(11) NOT NULL AUTO_INCREMENT,
63+ `user` varchar(9) NOT NULL,
64+ `token_id` varchar(32) NOT NULL,
65+ `token_hash` varchar(64) NOT NULL,
66+ `description` varchar(255) DEFAULT NULL,
67+ `expires_at` datetime NOT NULL,
68+ `ip_ranges` text DEFAULT NULL,
69+ `scope` text DEFAULT NULL,
70+ `revoked` tinyint(4) DEFAULT 0,
71+ `created_at` datetime DEFAULT current_timestamp(),
72+ PRIMARY KEY (`id`),
73+ UNIQUE KEY `user` (`user`,`token_id`),
74+ KEY `user_2` (`user`,`token_id`,`token_hash`),
75+ KEY `user_3` (`user`,`revoked`)
76+ ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
3077/*!40101 SET character_set_client = @saved_cs_client */;
3178
3279--
3380-- Table structure for table `grouptable`
3481--
3582
83+ DROP TABLE IF EXISTS `grouptable`;
3684/*!40101 SET @saved_cs_client = @@character_set_client */;
37- /*!40101 SET character_set_client = utf8 */;
38- CREATE TABLE grouptable (
85+ /*!40101 SET character_set_client = utf8mb4 */;
86+ CREATE TABLE ` grouptable` (
3987 `user` char(12) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
40- ugroup char(12) NOT NULL DEFAULT '',
41- UNIQUE KEY user_ugroup (`user`,ugroup)
42- ) ENGINE=InnoDB DEFAULT CHARSET=latin1 PACK_KEYS=1;
88+ ` ugroup` char(12) NOT NULL DEFAULT '',
89+ UNIQUE KEY ` user_ugroup` (`user`,` ugroup` )
90+ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PACK_KEYS=1;
4391/*!40101 SET character_set_client = @saved_cs_client */;
4492
4593--
4694-- Table structure for table `usertable`
4795--
4896
97+ DROP TABLE IF EXISTS `usertable`;
4998/*!40101 SET @saved_cs_client = @@character_set_client */;
50- /*!40101 SET character_set_client = utf8 */;
51- CREATE TABLE usertable (
99+ /*!40101 SET character_set_client = utf8mb4 */;
100+ CREATE TABLE ` usertable` (
52101 `user` char(12) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL DEFAULT '',
53102 `password` varchar(60) DEFAULT NULL,
54- secretemail char(255) DEFAULT NULL,
55- forcechange tinyint(4) DEFAULT '0' ,
103+ ` secretemail` char(255) DEFAULT NULL,
104+ ` forcechange` tinyint(4) DEFAULT 0 ,
56105 `changed` int(11) DEFAULT NULL,
57- changedby char(10) DEFAULT NULL,
58- lastvisit datetime DEFAULT NULL,
106+ ` changedby` char(10) DEFAULT NULL,
107+ ` lastvisit` datetime DEFAULT NULL,
59108 PRIMARY KEY (`user`),
60- KEY usertable_password (`password`)
61- ) ENGINE=InnoDB DEFAULT CHARSET=latin1 PACK_KEYS=1;
109+ KEY ` usertable_password` (`password`)
110+ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci PACK_KEYS=1;
62111/*!40101 SET character_set_client = @saved_cs_client */;
63112/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
64113
@@ -70,4 +119,4 @@ CREATE TABLE usertable (
70119/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
71120/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
72121
73- -- Dump completed on 2014-05-11 18:13:33
122+ -- Dump completed on 2026-04-26 14:20:36
0 commit comments