From eda1af693867beb7ef8204522aba5d714b2240bb Mon Sep 17 00:00:00 2001 From: "DESKTOP-72TV0V4\\caoxiaozhu" Date: Sat, 7 Mar 2026 11:51:58 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=BF=9E=E6=8E=A5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- .../4e3ce862-5936-45f8-baf2-c9c2895c2303.json | 22 ++++++++++++ .../a89dfc3e-5089-4a9e-8f6b-991d5bebd85d.json | 36 +++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 server/resources/db_info/4e3ce862-5936-45f8-baf2-c9c2895c2303.json create mode 100644 server/resources/db_info/a89dfc3e-5089-4a9e-8f6b-991d5bebd85d.json diff --git a/server/resources/db_info/4e3ce862-5936-45f8-baf2-c9c2895c2303.json b/server/resources/db_info/4e3ce862-5936-45f8-baf2-c9c2895c2303.json new file mode 100644 index 0000000..893067b --- /dev/null +++ b/server/resources/db_info/4e3ce862-5936-45f8-baf2-c9c2895c2303.json @@ -0,0 +1,22 @@ +{ + "database_id": "4e3ce862-5936-45f8-baf2-c9c2895c2303", + "database_name": "1231", + "db_type": "mysql", + "tables": [ + { + "id": "f394a250-623b-4da0-81e5-1e5d93bed982", + "database_id": "4e3ce862-5936-45f8-baf2-c9c2895c2303", + "parent_table": "scores", + "sub_table_name": "scores", + "sub_table_comment": "", + "mapping_type": "", + "relation_field": "", + "relation_type": "", + "fields": null, + "ddl": "CREATE TABLE `scores` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `student_id` int(10) unsigned NOT NULL,\n `subject` varchar(50) NOT NULL COMMENT '科目',\n `score` double DEFAULT NULL COMMENT '分数',\n `teacher_id` int(10) unsigned DEFAULT NULL,\n `exam_date` date DEFAULT NULL COMMENT '考试日期',\n `created_at` datetime DEFAULT CURRENT_TIMESTAMP,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4", + "created_at": "2026-03-07T10:37:08.868+08:00", + "updated_at": "2026-03-07T10:37:08.868+08:00" + } + ], + "updated_at": "2026-03-07T10:37:08.918463+08:00" +} \ No newline at end of file diff --git a/server/resources/db_info/a89dfc3e-5089-4a9e-8f6b-991d5bebd85d.json b/server/resources/db_info/a89dfc3e-5089-4a9e-8f6b-991d5bebd85d.json new file mode 100644 index 0000000..f79f368 --- /dev/null +++ b/server/resources/db_info/a89dfc3e-5089-4a9e-8f6b-991d5bebd85d.json @@ -0,0 +1,36 @@ +{ + "database_id": "a89dfc3e-5089-4a9e-8f6b-991d5bebd85d", + "database_name": "1231", + "db_type": "mysql", + "tables": [ + { + "id": "0fbec3c2-ab05-4288-a797-bdf03eec9f2b", + "database_id": "a89dfc3e-5089-4a9e-8f6b-991d5bebd85d", + "parent_table": "students", + "sub_table_name": "students", + "sub_table_comment": "", + "mapping_type": "", + "relation_field": "", + "relation_type": "", + "fields": null, + "ddl": "CREATE TABLE `students` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(50) NOT NULL COMMENT '学生姓名',\n `age` int(11) DEFAULT NULL COMMENT '年龄',\n `gender` varchar(10) DEFAULT NULL COMMENT '性别',\n `class` varchar(50) DEFAULT NULL COMMENT '班级',\n `phone` varchar(20) DEFAULT NULL COMMENT '电话',\n `created_at` datetime DEFAULT CURRENT_TIMESTAMP,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4", + "created_at": "2026-03-07T10:44:27.61+08:00", + "updated_at": "2026-03-07T10:44:27.61+08:00" + }, + { + "id": "693944e2-d610-4a09-aee9-1af0c8246fb4", + "database_id": "a89dfc3e-5089-4a9e-8f6b-991d5bebd85d", + "parent_table": "scores", + "sub_table_name": "scores", + "sub_table_comment": "", + "mapping_type": "", + "relation_field": "", + "relation_type": "", + "fields": null, + "ddl": "CREATE TABLE `scores` (\n `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n `student_id` int(10) unsigned NOT NULL,\n `subject` varchar(50) NOT NULL COMMENT '科目',\n `score` double DEFAULT NULL COMMENT '分数',\n `teacher_id` int(10) unsigned DEFAULT NULL,\n `exam_date` date DEFAULT NULL COMMENT '考试日期',\n `created_at` datetime DEFAULT CURRENT_TIMESTAMP,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4", + "created_at": "2026-03-07T10:44:27.56+08:00", + "updated_at": "2026-03-07T10:44:27.56+08:00" + } + ], + "updated_at": "2026-03-07T10:44:27.6628932+08:00" +} \ No newline at end of file