You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DjangoBlog-Maintenance-Anal.../DjangoBlog/djangoblog_complete.sql

753 lines
85 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

-- MySQL dump 10.13 Distrib 8.0.41, for Win64 (x86_64)
--
-- Host: localhost Database: djangoblog
-- ------------------------------------------------------
-- Server version 8.0.41
/*!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 */;
/*!50503 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 `accounts_bloguser`
--
DROP TABLE IF EXISTS `accounts_bloguser`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accounts_bloguser` (
`id` bigint NOT NULL AUTO_INCREMENT,
`password` varchar(128) NOT NULL,
`last_login` datetime(6) DEFAULT NULL,
`is_superuser` tinyint(1) NOT NULL,
`username` varchar(150) NOT NULL,
`first_name` varchar(150) NOT NULL,
`last_name` varchar(150) NOT NULL,
`email` varchar(254) NOT NULL,
`is_staff` tinyint(1) NOT NULL,
`is_active` tinyint(1) NOT NULL,
`date_joined` datetime(6) NOT NULL,
`nickname` varchar(100) NOT NULL,
`source` varchar(100) NOT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `username` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accounts_bloguser`
--
LOCK TABLES `accounts_bloguser` WRITE;
/*!40000 ALTER TABLE `accounts_bloguser` DISABLE KEYS */;
INSERT INTO `accounts_bloguser` (`id`, `password`, `last_login`, `is_superuser`, `username`, `first_name`, `last_name`, `email`, `is_staff`, `is_active`, `date_joined`, `nickname`, `source`, `creation_time`, `last_modify_time`) VALUES (1,'pbkdf2_sha256$600000$mZndmr8sDQkAWKbXvTRx2g$A5iWtA5USSTbcRT+Zrs1K5bQnAPlRCe2KwGBtYhi6As=','2025-09-18 21:06:38.009225',1,'root','','','yyd0322@qq.com',1,1,'2025-09-18 21:03:32.665037','','','2025-09-18 21:03:32.665037','2025-09-18 21:03:32.665037'),(2,'pbkdf2_sha256$600000$I4sPpEvZwNqvDQQPW6SfLX$c9/4RZKwlG76NG6T1nhBA71Wt5JXXCnKQtNO35EKcc0=',NULL,1,'yyd','','','yyd0322@qq.com',1,1,'2025-09-23 22:25:26.880204','','','2025-09-23 22:25:26.880204','2025-09-23 22:25:26.880204'),(3,'pbkdf2_sha256$600000$3J3anVsaTbErs6ekVtQ4gz$BDH9PRDQ5cELztnvtDmN1FDJltn3ExWk1+W9zonw9Sw=',NULL,1,'寮犱笁','涓?,'?,'yyd0322@qq.com',1,1,'2025-09-25 22:32:00.000000','','','2025-09-25 22:32:24.076546','2025-09-25 22:32:24.076546'),(4,'pbkdf2_sha256$600000$oCcoRHDsETbZPV41L4cTwB$6zR8e4rwSsG6HStNokpXlrV7ynvRvnZTEej7gNKro2Y=','2025-10-08 21:00:49.884294',1,'鐜嬪笇','','','yyd0322@qq.com',1,1,'2025-10-04 15:59:19.033437','','','2025-10-04 15:59:19.033437','2025-10-04 15:59:19.033437');
/*!40000 ALTER TABLE `accounts_bloguser` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `accounts_bloguser_groups`
--
DROP TABLE IF EXISTS `accounts_bloguser_groups`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accounts_bloguser_groups` (
`id` bigint NOT NULL AUTO_INCREMENT,
`bloguser_id` bigint NOT NULL,
`group_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `accounts_bloguser_groups_bloguser_id_group_id_fc37e89b_uniq` (`bloguser_id`,`group_id`),
KEY `accounts_bloguser_groups_group_id_98d76804_fk_auth_group_id` (`group_id`),
CONSTRAINT `accounts_bloguser_gr_bloguser_id_a16ccbb7_fk_accounts_` FOREIGN KEY (`bloguser_id`) REFERENCES `accounts_bloguser` (`id`),
CONSTRAINT `accounts_bloguser_groups_group_id_98d76804_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accounts_bloguser_groups`
--
LOCK TABLES `accounts_bloguser_groups` WRITE;
/*!40000 ALTER TABLE `accounts_bloguser_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounts_bloguser_groups` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `accounts_bloguser_user_permissions`
--
DROP TABLE IF EXISTS `accounts_bloguser_user_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accounts_bloguser_user_permissions` (
`id` bigint NOT NULL AUTO_INCREMENT,
`bloguser_id` bigint NOT NULL,
`permission_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `accounts_bloguser_user_p_bloguser_id_permission_i_14808777_uniq` (`bloguser_id`,`permission_id`),
KEY `accounts_bloguser_us_permission_id_ae5159b9_fk_auth_perm` (`permission_id`),
CONSTRAINT `accounts_bloguser_us_bloguser_id_7e1b5742_fk_accounts_` FOREIGN KEY (`bloguser_id`) REFERENCES `accounts_bloguser` (`id`),
CONSTRAINT `accounts_bloguser_us_permission_id_ae5159b9_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `accounts_bloguser_user_permissions`
--
LOCK TABLES `accounts_bloguser_user_permissions` WRITE;
/*!40000 ALTER TABLE `accounts_bloguser_user_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `accounts_bloguser_user_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_group`
--
DROP TABLE IF EXISTS `auth_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_group` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(150) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_group`
--
LOCK TABLES `auth_group` WRITE;
/*!40000 ALTER TABLE `auth_group` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_group_permissions`
--
DROP TABLE IF EXISTS `auth_group_permissions`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_group_permissions` (
`id` bigint NOT NULL AUTO_INCREMENT,
`group_id` int NOT NULL,
`permission_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_group_permissions_group_id_permission_id_0cd325b0_uniq` (`group_id`,`permission_id`),
KEY `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` (`permission_id`),
CONSTRAINT `auth_group_permissio_permission_id_84c5c92e_fk_auth_perm` FOREIGN KEY (`permission_id`) REFERENCES `auth_permission` (`id`),
CONSTRAINT `auth_group_permissions_group_id_b120cbf9_fk_auth_group_id` FOREIGN KEY (`group_id`) REFERENCES `auth_group` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_group_permissions`
--
LOCK TABLES `auth_group_permissions` WRITE;
/*!40000 ALTER TABLE `auth_group_permissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `auth_group_permissions` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `auth_permission`
--
DROP TABLE IF EXISTS `auth_permission`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `auth_permission` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`content_type_id` int NOT NULL,
`codename` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `auth_permission_content_type_id_codename_01ab375a_uniq` (`content_type_id`,`codename`),
CONSTRAINT `auth_permission_content_type_id_2f476e4b_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `auth_permission`
--
LOCK TABLES `auth_permission` WRITE;
/*!40000 ALTER TABLE `auth_permission` DISABLE KEYS */;
INSERT INTO `auth_permission` (`id`, `name`, `content_type_id`, `codename`) VALUES (1,'Can add log entry',1,'add_logentry'),(2,'Can change log entry',1,'change_logentry'),(3,'Can delete log entry',1,'delete_logentry'),(4,'Can view log entry',1,'view_logentry'),(5,'Can add permission',2,'add_permission'),(6,'Can change permission',2,'change_permission'),(7,'Can delete permission',2,'delete_permission'),(8,'Can view permission',2,'view_permission'),(9,'Can add group',3,'add_group'),(10,'Can change group',3,'change_group'),(11,'Can delete group',3,'delete_group'),(12,'Can view group',3,'view_group'),(13,'Can add content type',4,'add_contenttype'),(14,'Can change content type',4,'change_contenttype'),(15,'Can delete content type',4,'delete_contenttype'),(16,'Can view content type',4,'view_contenttype'),(17,'Can add session',5,'add_session'),(18,'Can change session',5,'change_session'),(19,'Can delete session',5,'delete_session'),(20,'Can view session',5,'view_session'),(21,'Can add site',6,'add_site'),(22,'Can change site',6,'change_site'),(23,'Can delete site',6,'delete_site'),(24,'Can view site',6,'view_site'),(25,'Can add Website configuration',7,'add_blogsettings'),(26,'Can change Website configuration',7,'change_blogsettings'),(27,'Can delete Website configuration',7,'delete_blogsettings'),(28,'Can view Website configuration',7,'view_blogsettings'),(29,'Can add link',8,'add_links'),(30,'Can change link',8,'change_links'),(31,'Can delete link',8,'delete_links'),(32,'Can view link',8,'view_links'),(33,'Can add sidebar',9,'add_sidebar'),(34,'Can change sidebar',9,'change_sidebar'),(35,'Can delete sidebar',9,'delete_sidebar'),(36,'Can view sidebar',9,'view_sidebar'),(37,'Can add tag',10,'add_tag'),(38,'Can change tag',10,'change_tag'),(39,'Can delete tag',10,'delete_tag'),(40,'Can view tag',10,'view_tag'),(41,'Can add category',11,'add_category'),(42,'Can change category',11,'change_category'),(43,'Can delete category',11,'delete_category'),(44,'Can view category',11,'view_category'),(45,'Can add article',12,'add_article'),(46,'Can change article',12,'change_article'),(47,'Can delete article',12,'delete_article'),(48,'Can view article',12,'view_article'),(49,'Can add user',13,'add_bloguser'),(50,'Can change user',13,'change_bloguser'),(51,'Can delete user',13,'delete_bloguser'),(52,'Can view user',13,'view_bloguser'),(53,'Can add comment',14,'add_comment'),(54,'Can change comment',14,'change_comment'),(55,'Can delete comment',14,'delete_comment'),(56,'Can view comment',14,'view_comment'),(57,'Can add oauth閰嶇疆',15,'add_oauthconfig'),(58,'Can change oauth閰嶇疆',15,'change_oauthconfig'),(59,'Can delete oauth閰嶇疆',15,'delete_oauthconfig'),(60,'Can view oauth閰嶇疆',15,'view_oauthconfig'),(61,'Can add oauth user',16,'add_oauthuser'),(62,'Can change oauth user',16,'change_oauthuser'),(63,'Can delete oauth user',16,'delete_oauthuser'),(64,'Can view oauth user',16,'view_oauthuser'),(65,'Can add 鍛戒护',17,'add_commands'),(66,'Can change 鍛戒护',17,'change_commands'),(67,'Can delete 鍛戒护',17,'delete_commands'),(68,'Can view 鍛戒护',17,'view_commands'),(69,'Can add 閭欢鍙戦€乴og',18,'add_emailsendlog'),(70,'Can change 閭欢鍙戦€乴og',18,'change_emailsendlog'),(71,'Can delete 閭欢鍙戦€乴og',18,'delete_emailsendlog'),(72,'Can view 閭欢鍙戦€乴og',18,'view_emailsendlog'),(73,'Can add OwnTrackLogs',19,'add_owntracklog'),(74,'Can change OwnTrackLogs',19,'change_owntracklog'),(75,'Can delete OwnTrackLogs',19,'delete_owntracklog'),(76,'Can view OwnTrackLogs',19,'view_owntracklog');
/*!40000 ALTER TABLE `auth_permission` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_article`
--
DROP TABLE IF EXISTS `blog_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_article` (
`id` int NOT NULL AUTO_INCREMENT,
`title` varchar(200) NOT NULL,
`body` longtext NOT NULL,
`pub_time` datetime(6) NOT NULL,
`status` varchar(1) NOT NULL,
`comment_status` varchar(1) NOT NULL,
`type` varchar(1) NOT NULL,
`views` int unsigned NOT NULL,
`article_order` int NOT NULL,
`show_toc` tinyint(1) NOT NULL,
`author_id` bigint NOT NULL,
`category_id` int NOT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `title` (`title`),
KEY `blog_article_author_id_905add38_fk_accounts_bloguser_id` (`author_id`),
KEY `blog_article_category_id_7e38f15e_fk_blog_category_id` (`category_id`),
CONSTRAINT `blog_article_author_id_905add38_fk_accounts_bloguser_id` FOREIGN KEY (`author_id`) REFERENCES `accounts_bloguser` (`id`),
CONSTRAINT `blog_article_category_id_7e38f15e_fk_blog_category_id` FOREIGN KEY (`category_id`) REFERENCES `blog_category` (`id`),
CONSTRAINT `blog_article_chk_1` CHECK ((`views` >= 0))
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_article`
--
LOCK TABLES `blog_article` WRITE;
/*!40000 ALTER TABLE `blog_article` DISABLE KEYS */;
INSERT INTO `blog_article` (`id`, `title`, `body`, `pub_time`, `status`, `comment_status`, `type`, `views`, `article_order`, `show_toc`, `author_id`, `category_id`, `creation_time`, `last_modify_time`) VALUES (1,'鍖椾含鑳″悓閲岀殑鐐搁叡闈㈡帰搴?,'уО"澶╄姳鏉縗"\"鑰佸寳浜偢閰遍潰\"фффхāу鸿祿\"閲岄潰鍧愶紝鐐搁叡闈㈤┈涓婂ソ锛乗"х便у祿洿э洿簿¤цу¤祿洿Θ¤"瀹濊棌灏忓簵\"稿?,'2025-10-08 12:00:00.000000','p','o','a',0,0,0,1,1,'2025-10-09 21:25:25.786828','2025-10-09 21:25:25.786828'),(2,'銆婃剰寮忛鍘呴噷鐨勫懗钑炬极娓搞€?,'э广祿 bchamel 鸿с溿︿ 溿Εу?,'2025-10-08 12:00:00.000000','p','o','a',0,0,0,1,2,'2025-10-09 21:25:26.835947','2025-10-09 21:25:26.835947'),(3,'銆婃硶寮忕敎鍝佸簵鐨勫崍鍚庨倐閫呫€?,'[![![](/media/editor\\5440.jpg_wh860_20251010183139965067.jpg)](https://img95.699pic.com/photo/60049/5440.jpg_wh860.jpg)[](/media/editor\\ 2025-10-10 183016_20251010183041401263.png)](https://ts1.tc.mm.bing.net/th/id/R-C.57daa737fdb1d9e19aa70c676112bdc0?rik=qAph%2boyNyGWB0w&riu=http%3a%2f%2fimg.mp.itc.cn%2fupload%2f20170302%2f8867d7f84f854171a43ca31b2b20edda_th.jpg&ehk=liQ6%2bgbtYtGIHpkac5H4qcoZiczCDhwtVh3eE1fV%2f8A%3d&risl=&pid=ImgRaw&r=0)х便簿 х祿彿椿?,'2025-10-09 14:30:00.000000','p','o','a',4,0,0,1,3,'2025-10-09 21:25:27.093510','2025-10-09 21:25:27.093510');
/*!40000 ALTER TABLE `blog_article` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_article_tags`
--
DROP TABLE IF EXISTS `blog_article_tags`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_article_tags` (
`id` bigint NOT NULL AUTO_INCREMENT,
`article_id` int NOT NULL,
`tag_id` int NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `blog_article_tags_article_id_tag_id_b78a22e9_uniq` (`article_id`,`tag_id`),
KEY `blog_article_tags_tag_id_88eb3ed9_fk_blog_tag_id` (`tag_id`),
CONSTRAINT `blog_article_tags_article_id_82c02dd6_fk_blog_article_id` FOREIGN KEY (`article_id`) REFERENCES `blog_article` (`id`),
CONSTRAINT `blog_article_tags_tag_id_88eb3ed9_fk_blog_tag_id` FOREIGN KEY (`tag_id`) REFERENCES `blog_tag` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_article_tags`
--
LOCK TABLES `blog_article_tags` WRITE;
/*!40000 ALTER TABLE `blog_article_tags` DISABLE KEYS */;
INSERT INTO `blog_article_tags` (`id`, `article_id`, `tag_id`) VALUES (1,1,1),(2,2,3),(4,3,1),(3,3,3);
/*!40000 ALTER TABLE `blog_article_tags` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_blogsettings`
--
DROP TABLE IF EXISTS `blog_blogsettings`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_blogsettings` (
`id` bigint NOT NULL AUTO_INCREMENT,
`site_name` varchar(200) NOT NULL,
`site_description` longtext NOT NULL,
`site_seo_description` longtext NOT NULL,
`site_keywords` longtext NOT NULL,
`article_sub_length` int NOT NULL,
`sidebar_article_count` int NOT NULL,
`sidebar_comment_count` int NOT NULL,
`article_comment_count` int NOT NULL,
`show_google_adsense` tinyint(1) NOT NULL,
`google_adsense_codes` longtext,
`open_site_comment` tinyint(1) NOT NULL,
`beian_code` varchar(2000) DEFAULT NULL,
`analytics_code` longtext NOT NULL,
`show_gongan_code` tinyint(1) NOT NULL,
`gongan_beiancode` longtext,
`global_footer` longtext,
`global_header` longtext,
`comment_need_review` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_blogsettings`
--
LOCK TABLES `blog_blogsettings` WRITE;
/*!40000 ALTER TABLE `blog_blogsettings` DISABLE KEYS */;
INSERT INTO `blog_blogsettings` (`id`, `site_name`, `site_description`, `site_seo_description`, `site_keywords`, `article_sub_length`, `sidebar_article_count`, `sidebar_comment_count`, `article_comment_count`, `show_google_adsense`, `google_adsense_codes`, `open_site_comment`, `beian_code`, `analytics_code`, `show_gongan_code`, `gongan_beiancode`, `global_footer`, `global_header`, `comment_need_review`) VALUES (1,'djangoblog','鍩轰簬Django鐨勫崥瀹㈢郴缁?,'Django?,'Django,Python',300,10,5,5,0,'',1,'','',0,'','','',0);
/*!40000 ALTER TABLE `blog_blogsettings` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_category`
--
DROP TABLE IF EXISTS `blog_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_category` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`slug` varchar(60) NOT NULL,
`index` int NOT NULL,
`parent_category_id` int DEFAULT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `blog_category_slug_92643dc5_uniq` (`slug`),
KEY `blog_category_parent_category_id_f50c3c0c_fk_blog_category_id` (`parent_category_id`),
CONSTRAINT `blog_category_parent_category_id_f50c3c0c_fk_blog_category_id` FOREIGN KEY (`parent_category_id`) REFERENCES `blog_category` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_category`
--
LOCK TABLES `blog_category` WRITE;
/*!40000 ALTER TABLE `blog_category` DISABLE KEYS */;
INSERT INTO `blog_category` (`id`, `name`, `slug`, `index`, `parent_category_id`, `creation_time`, `last_modify_time`) VALUES (1,'涓紡鑿滆偞','zhong-shi-cai-yao',0,NULL,'2025-10-08 20:57:37.109344','2025-10-08 20:57:00.000000'),(2,'瑗垮紡缇庨','category-2',0,NULL,'2025-10-08 20:57:37.339995','2025-10-08 20:57:37.339995'),(3,'鐢滅偣鐑樼剻','category-3',0,NULL,'2025-10-08 20:57:37.486512','2025-10-08 20:57:37.486512'),(4,'鐗硅壊灏忓悆','category-4',0,NULL,'2025-10-08 20:57:37.573968','2025-10-08 20:57:37.573968');
/*!40000 ALTER TABLE `blog_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_links`
--
DROP TABLE IF EXISTS `blog_links`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_links` (
`id` bigint NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`link` varchar(200) NOT NULL,
`sequence` int NOT NULL,
`is_enable` tinyint(1) NOT NULL,
`show_type` varchar(1) NOT NULL,
`last_mod_time` datetime(6) NOT NULL,
`creation_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `sequence` (`sequence`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_links`
--
LOCK TABLES `blog_links` WRITE;
/*!40000 ALTER TABLE `blog_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_links` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_sidebar`
--
DROP TABLE IF EXISTS `blog_sidebar`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_sidebar` (
`id` bigint NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL,
`content` longtext NOT NULL,
`sequence` int NOT NULL,
`is_enable` tinyint(1) NOT NULL,
`last_mod_time` datetime(6) NOT NULL,
`creation_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `sequence` (`sequence`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_sidebar`
--
LOCK TABLES `blog_sidebar` WRITE;
/*!40000 ALTER TABLE `blog_sidebar` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_sidebar` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_tag`
--
DROP TABLE IF EXISTS `blog_tag`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_tag` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(30) NOT NULL,
`slug` varchar(60) NOT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name` (`name`),
KEY `blog_tag_slug_01068d0e` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_tag`
--
LOCK TABLES `blog_tag` WRITE;
/*!40000 ALTER TABLE `blog_tag` DISABLE KEYS */;
INSERT INTO `blog_tag` (`id`, `name`, `slug`, `creation_time`, `last_modify_time`) VALUES (1,'鎺㈠簵','no-slug','2025-10-08 20:58:42.995380','2025-10-08 20:58:42.995380'),(2,'瀹跺父鑿?,'no-slug','2025-10-08 20:58:43.320657','2025-10-08 20:58:43.320657'),(3,'','no-slug','2025-10-08 20:58:43.408671','2025-10-08 20:58:43.408671'),(4,'','no-slug','2025-10-08 20:58:43.578870','2025-10-08 20:58:43.578870');
/*!40000 ALTER TABLE `blog_tag` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `comments_comment`
--
DROP TABLE IF EXISTS `comments_comment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `comments_comment` (
`id` bigint NOT NULL AUTO_INCREMENT,
`body` longtext NOT NULL,
`is_enable` tinyint(1) NOT NULL,
`article_id` int NOT NULL,
`author_id` bigint NOT NULL,
`parent_comment_id` bigint DEFAULT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
KEY `comments_comment_article_id_94fe60a2_fk_blog_article_id` (`article_id`),
KEY `comments_comment_author_id_334ce9e2_fk_accounts_bloguser_id` (`author_id`),
KEY `comments_comment_parent_comment_id_71289d4a_fk_comments_` (`parent_comment_id`),
CONSTRAINT `comments_comment_article_id_94fe60a2_fk_blog_article_id` FOREIGN KEY (`article_id`) REFERENCES `blog_article` (`id`),
CONSTRAINT `comments_comment_author_id_334ce9e2_fk_accounts_bloguser_id` FOREIGN KEY (`author_id`) REFERENCES `accounts_bloguser` (`id`),
CONSTRAINT `comments_comment_parent_comment_id_71289d4a_fk_comments_` FOREIGN KEY (`parent_comment_id`) REFERENCES `comments_comment` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `comments_comment`
--
LOCK TABLES `comments_comment` WRITE;
/*!40000 ALTER TABLE `comments_comment` DISABLE KEYS */;
/*!40000 ALTER TABLE `comments_comment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_admin_log`
--
DROP TABLE IF EXISTS `django_admin_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_admin_log` (
`id` int NOT NULL AUTO_INCREMENT,
`action_time` datetime(6) NOT NULL,
`object_id` longtext,
`object_repr` varchar(200) NOT NULL,
`action_flag` smallint unsigned NOT NULL,
`change_message` longtext NOT NULL,
`content_type_id` int DEFAULT NULL,
`user_id` bigint NOT NULL,
PRIMARY KEY (`id`),
KEY `django_admin_log_content_type_id_c4bce8eb_fk_django_co` (`content_type_id`),
KEY `django_admin_log_user_id_c564eba6_fk_accounts_bloguser_id` (`user_id`),
CONSTRAINT `django_admin_log_content_type_id_c4bce8eb_fk_django_co` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`),
CONSTRAINT `django_admin_log_user_id_c564eba6_fk_accounts_bloguser_id` FOREIGN KEY (`user_id`) REFERENCES `accounts_bloguser` (`id`),
CONSTRAINT `django_admin_log_chk_1` CHECK ((`action_flag` >= 0))
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_admin_log`
--
LOCK TABLES `django_admin_log` WRITE;
/*!40000 ALTER TABLE `django_admin_log` DISABLE KEYS */;
INSERT INTO `django_admin_log` (`id`, `action_time`, `object_id`, `object_repr`, `action_flag`, `change_message`, `content_type_id`, `user_id`) VALUES (1,'2025-10-08 21:31:37.926783','1','',2,'[]',11,4),(2,'2025-10-08 21:31:54.564626','1','',2,'[]',11,4),(3,'2025-10-08 21:32:33.438179','1','?,2,'[]',12,4),(4,'2025-10-09 19:53:51.866575','3','yyd0322@qq.com',2,'[{\"changed\": {\"fields\": [\"First name\", \"Last name\"]}}]',13,4),(5,'2025-10-09 19:54:22.717635','2','銆婃剰寮忛鍘呴噷鐨勫懗钑炬极娓搞€?,1,'[{\"added\": {}}]',12,4),(6,'2025-10-09 19:55:35.685282','2','?,2,'[]',12,4),(7,'2025-10-09 19:56:09.762278','2','銆婃剰寮忛鍘呴噷鐨勫懗钑炬极娓搞€?,2,'[{\"changed\": {\"fields\": [\"Views\", \"Show toc\"]}}]',12,4),(8,'2025-10-09 20:06:58.717128','2','?,2,'[]',12,4),(9,'2025-10-09 21:31:31.879936','3','銆婃硶寮忕敎鍝佸簵鐨勫崍鍚庨倐閫呫€?,2,'[{\"changed\": {\"fields\": [\"Tag\"]}}]',12,4),(10,'2025-10-09 21:31:32.331408','3','?,2,'[]',12,4),(11,'2025-10-10 18:31:59.431948','3','銆婃硶寮忕敎鍝佸簵鐨勫崍鍚庨倐閫呫€?,2,'[{\"changed\": {\"fields\": [\"Body\"]}}]',12,4),(12,'2025-10-10 18:31:59.924699','3','?,2,'[{\"changed\": {\"fields\": [\"Body\"]}}]',12,4);
/*!40000 ALTER TABLE `django_admin_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_content_type`
--
DROP TABLE IF EXISTS `django_content_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_content_type` (
`id` int NOT NULL AUTO_INCREMENT,
`app_label` varchar(100) NOT NULL,
`model` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `django_content_type_app_label_model_76bd3d3b_uniq` (`app_label`,`model`)
) ENGINE=InnoDB AUTO_INCREMENT=20 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_content_type`
--
LOCK TABLES `django_content_type` WRITE;
/*!40000 ALTER TABLE `django_content_type` DISABLE KEYS */;
INSERT INTO `django_content_type` (`id`, `app_label`, `model`) VALUES (13,'accounts','bloguser'),(1,'admin','logentry'),(3,'auth','group'),(2,'auth','permission'),(12,'blog','article'),(7,'blog','blogsettings'),(11,'blog','category'),(8,'blog','links'),(9,'blog','sidebar'),(10,'blog','tag'),(14,'comments','comment'),(4,'contenttypes','contenttype'),(15,'oauth','oauthconfig'),(16,'oauth','oauthuser'),(19,'owntracks','owntracklog'),(17,'servermanager','commands'),(18,'servermanager','emailsendlog'),(5,'sessions','session'),(6,'sites','site');
/*!40000 ALTER TABLE `django_content_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_migrations`
--
DROP TABLE IF EXISTS `django_migrations`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_migrations` (
`id` bigint NOT NULL AUTO_INCREMENT,
`app` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`applied` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_migrations`
--
LOCK TABLES `django_migrations` WRITE;
/*!40000 ALTER TABLE `django_migrations` DISABLE KEYS */;
INSERT INTO `django_migrations` (`id`, `app`, `name`, `applied`) VALUES (1,'contenttypes','0001_initial','2025-09-18 20:12:41.102996'),(2,'contenttypes','0002_remove_content_type_name','2025-09-18 20:12:41.187843'),(3,'auth','0001_initial','2025-09-18 20:12:41.355812'),(4,'auth','0002_alter_permission_name_max_length','2025-09-18 20:12:41.402983'),(5,'auth','0003_alter_user_email_max_length','2025-09-18 20:12:41.402983'),(6,'auth','0004_alter_user_username_opts','2025-09-18 20:12:41.412811'),(7,'auth','0005_alter_user_last_login_null','2025-09-18 20:12:41.421131'),(8,'auth','0006_require_contenttypes_0002','2025-09-18 20:12:41.421131'),(9,'auth','0007_alter_validators_add_error_messages','2025-09-18 20:12:41.421131'),(10,'auth','0008_alter_user_username_max_length','2025-09-18 20:12:41.421131'),(11,'auth','0009_alter_user_last_name_max_length','2025-09-18 20:12:41.436440'),(12,'auth','0010_alter_group_name_max_length','2025-09-18 20:12:41.444051'),(13,'auth','0011_update_proxy_permissions','2025-09-18 20:12:41.453238'),(14,'auth','0012_alter_user_first_name_max_length','2025-09-18 20:12:41.459826'),(15,'accounts','0001_initial','2025-09-18 20:12:41.656655'),(16,'accounts','0002_alter_bloguser_options_remove_bloguser_created_time_and_more','2025-09-18 20:12:41.792885'),(17,'admin','0001_initial','2025-09-18 20:12:41.877417'),(18,'admin','0002_logentry_remove_auto_add','2025-09-18 20:12:41.881822'),(19,'admin','0003_logentry_add_action_flag_choices','2025-09-18 20:12:41.887365'),(20,'blog','0001_initial','2025-09-18 20:12:42.209133'),(21,'blog','0002_blogsettings_global_footer_and_more','2025-09-18 20:12:42.272722'),(22,'blog','0003_blogsettings_comment_need_review','2025-09-18 20:12:42.304639'),(23,'blog','0004_rename_analyticscode_blogsettings_analytics_code_and_more','2025-09-18 20:12:42.352187'),(24,'blog','0005_alter_article_options_alter_category_options_and_more','2025-09-18 20:12:43.176319'),(25,'blog','0006_alter_blogsettings_options','2025-09-18 20:12:43.176319'),(26,'comments','0001_initial','2025-09-18 20:12:43.334073'),(27,'comments','0002_alter_comment_is_enable','2025-09-18 20:12:43.334073'),(28,'comments','0003_alter_comment_options_remove_comment_created_time_and_more','2025-09-18 20:12:43.523812'),(29,'oauth','0001_initial','2025-09-18 20:12:43.603013'),(30,'oauth','0002_alter_oauthconfig_options_alter_oauthuser_options_and_more','2025-09-18 20:12:43.934900'),(31,'oauth','0003_alter_oauthuser_nickname','2025-09-18 20:12:43.953000'),(32,'owntracks','0001_initial','2025-09-18 20:12:43.966628'),(33,'owntracks','0002_alter_owntracklog_options_and_more','2025-09-18 20:12:43.982506'),(34,'servermanager','0001_initial','2025-09-18 20:12:44.014459'),(35,'servermanager','0002_alter_emailsendlog_options_and_more','2025-09-18 20:12:44.061724'),(36,'sessions','0001_initial','2025-09-18 20:12:44.094683'),(37,'sites','0001_initial','2025-09-18 20:12:44.124588'),(38,'sites','0002_alter_domain_unique','2025-09-18 20:12:44.140591'),(39,'blog','0007_alter_category_slug','2025-10-09 21:14:09.731021');
/*!40000 ALTER TABLE `django_migrations` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_session`
--
DROP TABLE IF EXISTS `django_session`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_session` (
`session_key` varchar(40) NOT NULL,
`session_data` longtext NOT NULL,
`expire_date` datetime(6) NOT NULL,
PRIMARY KEY (`session_key`),
KEY `django_session_expire_date_a5c62663` (`expire_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_session`
--
LOCK TABLES `django_session` WRITE;
/*!40000 ALTER TABLE `django_session` DISABLE KEYS */;
INSERT INTO `django_session` (`session_key`, `session_data`, `expire_date`) VALUES ('2f4z5e2czzdh3h0l2ukqdfgankrl3i3a','.eJxVjMEKwjAQBf8lZ5Ek2662R8GjePIcNsnWBttEmhYU8d9tRUGvM-_NQxiaxtZMmQcTvKhFIVa_zJK7cFwEOZemOOb1m3fpHOLXrvc9he44nGYTqedD8tztPs-_XEu5nVslkyxZAbDXynpUxAUSENF2g9pWzGhROwuSq0Za0IrmTQMIvpKk5BLNnHNI0fDtGoa7qDVqLFE-X7YXRqg:1v6Tmk:0Iz4j9P7VNV495EtKM6AkBkElVaODjplMSMUaT8RCeA','2025-11-08 06:36:50.049592');
/*!40000 ALTER TABLE `django_session` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `django_site`
--
DROP TABLE IF EXISTS `django_site`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `django_site` (
`id` int NOT NULL AUTO_INCREMENT,
`domain` varchar(100) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `django_site_domain_a2e37b91_uniq` (`domain`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `django_site`
--
LOCK TABLES `django_site` WRITE;
/*!40000 ALTER TABLE `django_site` DISABLE KEYS */;
INSERT INTO `django_site` (`id`, `domain`, `name`) VALUES (1,'example.com','example.com');
/*!40000 ALTER TABLE `django_site` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_oauthconfig`
--
DROP TABLE IF EXISTS `oauth_oauthconfig`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `oauth_oauthconfig` (
`id` bigint NOT NULL AUTO_INCREMENT,
`type` varchar(10) NOT NULL,
`appkey` varchar(200) NOT NULL,
`appsecret` varchar(200) NOT NULL,
`callback_url` varchar(200) NOT NULL,
`is_enable` tinyint(1) NOT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_oauthconfig`
--
LOCK TABLES `oauth_oauthconfig` WRITE;
/*!40000 ALTER TABLE `oauth_oauthconfig` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_oauthconfig` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `oauth_oauthuser`
--
DROP TABLE IF EXISTS `oauth_oauthuser`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `oauth_oauthuser` (
`id` bigint NOT NULL AUTO_INCREMENT,
`openid` varchar(50) NOT NULL,
`nickname` varchar(50) NOT NULL,
`token` varchar(150) DEFAULT NULL,
`picture` varchar(350) DEFAULT NULL,
`type` varchar(50) NOT NULL,
`email` varchar(50) DEFAULT NULL,
`metadata` longtext,
`author_id` bigint DEFAULT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`),
KEY `oauth_oauthuser_author_id_a975bef0_fk_accounts_bloguser_id` (`author_id`),
CONSTRAINT `oauth_oauthuser_author_id_a975bef0_fk_accounts_bloguser_id` FOREIGN KEY (`author_id`) REFERENCES `accounts_bloguser` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `oauth_oauthuser`
--
LOCK TABLES `oauth_oauthuser` WRITE;
/*!40000 ALTER TABLE `oauth_oauthuser` DISABLE KEYS */;
/*!40000 ALTER TABLE `oauth_oauthuser` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `owntracks_owntracklog`
--
DROP TABLE IF EXISTS `owntracks_owntracklog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `owntracks_owntracklog` (
`id` bigint NOT NULL AUTO_INCREMENT,
`tid` varchar(100) NOT NULL,
`lat` double NOT NULL,
`lon` double NOT NULL,
`creation_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `owntracks_owntracklog`
--
LOCK TABLES `owntracks_owntracklog` WRITE;
/*!40000 ALTER TABLE `owntracks_owntracklog` DISABLE KEYS */;
/*!40000 ALTER TABLE `owntracks_owntracklog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `servermanager_commands`
--
DROP TABLE IF EXISTS `servermanager_commands`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `servermanager_commands` (
`id` bigint NOT NULL AUTO_INCREMENT,
`title` varchar(300) NOT NULL,
`command` varchar(2000) NOT NULL,
`describe` varchar(300) NOT NULL,
`creation_time` datetime(6) NOT NULL,
`last_modify_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `servermanager_commands`
--
LOCK TABLES `servermanager_commands` WRITE;
/*!40000 ALTER TABLE `servermanager_commands` DISABLE KEYS */;
/*!40000 ALTER TABLE `servermanager_commands` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `servermanager_emailsendlog`
--
DROP TABLE IF EXISTS `servermanager_emailsendlog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `servermanager_emailsendlog` (
`id` bigint NOT NULL AUTO_INCREMENT,
`emailto` varchar(300) NOT NULL,
`title` varchar(2000) NOT NULL,
`content` longtext NOT NULL,
`send_result` tinyint(1) NOT NULL,
`creation_time` datetime(6) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `servermanager_emailsendlog`
--
LOCK TABLES `servermanager_emailsendlog` WRITE;
/*!40000 ALTER TABLE `servermanager_emailsendlog` DISABLE KEYS */;
/*!40000 ALTER TABLE `servermanager_emailsendlog` 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 2025-10-10 19:32:45