初始提交:文字匹配图片项目
This commit is contained in:
21
db/split_tables/ai_user_topics.sql
Normal file
21
db/split_tables/ai_user_topics.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- SQL table definition
|
||||
-- Generated from splitting a larger SQL file
|
||||
-- Table: ai_user_topics
|
||||
--
|
||||
|
||||
CREATE TABLE `ai_user_topics` (
|
||||
`id` int NOT NULL AUTO_INCREMENT,
|
||||
`user_id` int unsigned NOT NULL DEFAULT '0',
|
||||
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`topic_type_id` int unsigned NOT NULL DEFAULT '0',
|
||||
`topic_type_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
|
||||
`prompt_workflow_id` int NOT NULL DEFAULT '0',
|
||||
`prompt_workflow_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '',
|
||||
`status` enum('active','inactive','deleted') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'inactive',
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
KEY `idx_topic_type_id` (`topic_type_id`) USING BTREE,
|
||||
KEY `idx_prompt_workflow_id` (`prompt_workflow_id`) USING BTREE,
|
||||
KEY `idx_created_at` (`created_at`) USING BTREE
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
|
||||
Reference in New Issue
Block a user