Files
X-Agents/server/resources/db_info/4e3ce862-5936-45f8-baf2-c9c2895c2303.json
2026-03-07 11:51:58 +08:00

22 lines
1.1 KiB
JSON

{
"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"
}