|
|
@@ -519,72 +519,6 @@ INSERT INTO `subscription_user_log` VALUES (1,4,25,'PAID','2025-03-18',NULL,'202
|
|
|
/*!40000 ALTER TABLE `subscription_user_log` ENABLE KEYS */;
|
|
|
UNLOCK TABLES;
|
|
|
|
|
|
---
|
|
|
--- Table structure for table `sys_dict`
|
|
|
---
|
|
|
-
|
|
|
-DROP TABLE IF EXISTS `sys_dict`;
|
|
|
-/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
-/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
-CREATE TABLE `sys_dict` (
|
|
|
- `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
|
- `dict_code` varchar(100) NOT NULL COMMENT '字典编码',
|
|
|
- `dict_name` varchar(100) NOT NULL COMMENT '字典名称',
|
|
|
- `description` varchar(200) DEFAULT NULL COMMENT '描述',
|
|
|
- `status` int NOT NULL DEFAULT '1' COMMENT '状态(1-启用,0-失效)',
|
|
|
- `created_by` bigint NOT NULL COMMENT '创建人',
|
|
|
- `creation_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
- `last_updated_by` bigint NOT NULL COMMENT '最后更新人',
|
|
|
- `last_update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
|
|
|
- `version` bigint NOT NULL DEFAULT '1' COMMENT '版本号',
|
|
|
- `delete_flag` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除标志(0-未删除,1-已删除)',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='系统字典表';
|
|
|
-/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
-
|
|
|
---
|
|
|
--- Dumping data for table `sys_dict`
|
|
|
---
|
|
|
-
|
|
|
-LOCK TABLES `sys_dict` WRITE;
|
|
|
-/*!40000 ALTER TABLE `sys_dict` DISABLE KEYS */;
|
|
|
-/*!40000 ALTER TABLE `sys_dict` ENABLE KEYS */;
|
|
|
-UNLOCK TABLES;
|
|
|
-
|
|
|
---
|
|
|
--- Table structure for table `sys_dict_item`
|
|
|
---
|
|
|
-
|
|
|
-DROP TABLE IF EXISTS `sys_dict_item`;
|
|
|
-/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
|
-/*!50503 SET character_set_client = utf8mb4 */;
|
|
|
-CREATE TABLE `sys_dict_item` (
|
|
|
- `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
|
|
|
- `dict_id` bigint NOT NULL COMMENT '字典表主键',
|
|
|
- `data_type` int NOT NULL COMMENT '数据类型(0-String,1-Number)',
|
|
|
- `item_code` varchar(100) NOT NULL COMMENT '字典项编码',
|
|
|
- `item_name` varchar(100) NOT NULL COMMENT '字典项名称',
|
|
|
- `description` varchar(200) DEFAULT NULL COMMENT '描述',
|
|
|
- `status` int NOT NULL DEFAULT '1' COMMENT '状态(1-启用,0-失效)',
|
|
|
- `created_by` bigint NOT NULL COMMENT '创建人',
|
|
|
- `creation_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
- `last_updated_by` bigint NOT NULL COMMENT '最后更新人',
|
|
|
- `last_update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '最后更新时间',
|
|
|
- `version` bigint NOT NULL DEFAULT '1' COMMENT '版本号',
|
|
|
- `delete_flag` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除标志(0-未删除,1-已删除)',
|
|
|
- PRIMARY KEY (`id`)
|
|
|
-) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='系统字典项表';
|
|
|
-/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
-
|
|
|
---
|
|
|
--- Dumping data for table `sys_dict_item`
|
|
|
---
|
|
|
-
|
|
|
-LOCK TABLES `sys_dict_item` WRITE;
|
|
|
-/*!40000 ALTER TABLE `sys_dict_item` DISABLE KEYS */;
|
|
|
-/*!40000 ALTER TABLE `sys_dict_item` ENABLE KEYS */;
|
|
|
-UNLOCK TABLES;
|
|
|
-
|
|
|
--
|
|
|
-- Table structure for table `sys_schedule_task_log`
|
|
|
--
|