-- 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,'銆婃剰寮忛鍘呴噷鐨勫懗钑炬极娓搞€?,'鍦ㄥ煄甯傚枾鍤ｇ殑瑙掕惤锛岃棌鐫€涓€瀹跺厖婊℃剰寮忛鎯呯殑椁愬巺锛屾帹寮€閭ｆ墖闆曡姳鏈ㄩ棬锛屼豢浣涚灛闂寸┛瓒婂埌浜嗕簹骞冲畞鍗婂矝銆傛殩榛勭殑鐏厜娲掑湪閾虹潃鏍煎瓙妗屽竷鐨勯妗屼笂锛屽涓婃寕鐫€鎰忓ぇ鍒╁悇鍦扮殑椋庢櫙鐓э紝绌烘皵涓讥婕潃姗勬娌广€佽姖澹笌棣欒崏浜よ瀺鐨勯姘旓紝涓€鍦哄懗钑剧殑婕父灏辨寮€鍚€傞鍏堜笂妗岀殑鏄粡鍏哥殑鎰忓紡鐣寗鑲夐叡闈€傛墜宸ュ埗浣滅殑鎰忛潰绮楃粏鍧囧寑锛屽涓濈桓鑸『婊戯紝瑁规弧浜嗘祿閮佺殑鑲夐叡銆傝倝閰辩敱鏂伴矞鐣寗鎱㈢倴鑰屾垚锛岄吀鐢滅殑姹佹按鍏呭垎娓楀叆鑲夎川椴滃鐨勭墰鑲夋湯涓紝姣忎竴鍙ｉ兘鑳芥劅鍙楀埌鐣寗鐨勬竻鏂颁笌鐗涜倝鐨勯唶鍘氬湪鑸屽皷纰版挒锛屾惌閰嶅笗鐜涙．鑺濆＋纰庯紝鍜搁涓庨吀鐢滀氦缁囷紝灞傛涓板瘜寰楄浜虹潃杩枫€傛帴鐫€鏄剰寮忕儰鍗冨眰闈紝杩欑畝鐩存槸鑺濆＋鐖卞ソ鑰呯殑澶╁爞銆傚眰灞傚彔鍙犵殑闈㈢毊闂达紝澶圭潃缁嗚吇鐨勭墰鑲夐銆佸ザ棣欏崄瓒崇殑 b茅chamel 閰憋紝鏈€涓婂眰閾烘弧浜嗛┈鑻忛噷鎷夎姖澹€傜粡鐑ょ鐑ゅ埗鍚庯紝鑺濆＋鍛堢幇鍑鸿浜虹殑鐒﹂粍鑹诧紝杞昏交鐢ㄥ弶瀛愪竴鎸戯紝鑺濆＋鎷夊嚭闀块暱鐨勪笣锛屽叆鍙ｅ嵆鍖栵紝闈㈢毊鐨勬煍闊с€侀鏂欑殑椴滅編涓庤姖澹殑娴撻儊瀹岀編铻嶅悎锛屾瘡涓€灞傞兘甯︽潵涓嶅悓鐨勫懗瑙夋儕鍠溿€傛渶鍚庝互涓€浠芥彁鎷夌背鑻忔敹灏惧啀鍚堥€備笉杩囥€傛墜鎸囬ゼ骞叉蹈娑︿簡鍜栧暋閰掞紝甯︾潃寰井鐨勮嫤娑╋紝涓庝笂灞傜坏瀵嗙殑椹柉鍗″江鑺濆＋濂舵补瀹岀編骞宠　锛岄《閮ㄦ拻鐨勫彲鍙矇鏇存坊浜嗕竴涓濋唶鍘氥€傜敤灏忓嫼鎸栦笂涓€鍙ｏ紝鍐板噳涓濇粦鐨勫彛鎰熷湪鍙ｄ腑鏁ｅ紑锛屽挅鍟＄殑鑻︺€佽姖澹殑鐢溿€侀ゼ骞茬殑缁碉紝浜ょ粐鍑烘剰寮忕敎鍝佺嫭鏈夌殑娴极涓庨Ε閮併€傚湪杩欏鎰忓紡椁愬巺锛屾瘡涓€閬撹彍閮藉儚鏄竴浣嶆剰澶у埄鍙嬩汉锛岀敤鏈€鍦伴亾鐨勯鍛筹紝璇夎鐫€浜氬钩瀹佸崐宀涚殑闃冲厜涓庢氮婕紝璁╂垜鍦ㄥ煄甯傞噷锛屼篃鑳芥嫢鏈変竴鍦洪叄鐣呮穻婕撶殑鍛宠暰婕父銆?,'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
