--- fenglin/TODO/sql/db_stru.sql	2025/06/07 12:06:12	1.19
+++ fenglin/TODO/sql/db_stru.sql	2025/10/11 02:34:05	1.21
@@ -10,6 +10,11 @@ CREATE TABLE `admin_config` (
   `major` tinyint UNSIGNED NOT NULL DEFAULT '0'
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
 
+CREATE TABLE `article_favorite` (
+  `UID` mediumint NOT NULL,
+  `AID` int NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
+
 CREATE TABLE `ban_user_list` (
   `BID` smallint NOT NULL,
   `SID` smallint NOT NULL DEFAULT '0',
@@ -145,6 +150,8 @@ CREATE TABLE `section_config` (
   `sort_order` smallint NOT NULL DEFAULT '10',
   `ex_gen_tm` datetime DEFAULT NULL,
   `ex_update` tinyint UNSIGNED NOT NULL DEFAULT '0',
+  `ex_menu_tm` datetime DEFAULT NULL,
+  `ex_menu_update` tinyint NOT NULL DEFAULT '0',
   `read_user_level` smallint NOT NULL DEFAULT '0',
   `write_user_level` smallint NOT NULL DEFAULT '0'
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
@@ -322,6 +329,10 @@ ALTER TABLE `admin_config`
   ADD PRIMARY KEY (`AID`),
   ADD KEY `UID` (`UID`);
 
+ALTER TABLE `article_favorite`
+  ADD PRIMARY KEY (`UID`,`AID`),
+  ADD KEY `AID` (`AID`);
+
 ALTER TABLE `ban_user_list`
   ADD PRIMARY KEY (`BID`),
   ADD KEY `ban_UID` (`ban_UID`),
