22 lines
1.1 KiB
JSON
22 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"database_id": "101fbee1-8400-46ae-b83b-e3898e4888b6",
|
||
|
|
"database_name": "123",
|
||
|
|
"db_type": "mysql",
|
||
|
|
"tables": [
|
||
|
|
{
|
||
|
|
"id": "042db4ca-512f-4ee9-aacb-2d7ff1bc2193",
|
||
|
|
"database_id": "101fbee1-8400-46ae-b83b-e3898e4888b6",
|
||
|
|
"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 COMMENT '分数id'\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-06T16:23:31.097+08:00",
|
||
|
|
"updated_at": "2026-03-06T16:23:31.097+08:00"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"updated_at": "2026-03-06T16:23:31.1477776+08:00"
|
||
|
|
}
|