22 lines
1.1 KiB
JSON
22 lines
1.1 KiB
JSON
|
|
{
|
||
|
|
"database_id": "d44fa121-5964-439f-8c5d-0384ba27b411",
|
||
|
|
"database_name": "123",
|
||
|
|
"db_type": "mysql",
|
||
|
|
"tables": [
|
||
|
|
{
|
||
|
|
"id": "694da06f-d6b7-4915-8502-c4c38addf059",
|
||
|
|
"database_id": "d44fa121-5964-439f-8c5d-0384ba27b411",
|
||
|
|
"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 'fenshu 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:30:41.589+08:00",
|
||
|
|
"updated_at": "2026-03-06T16:30:41.589+08:00"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"updated_at": "2026-03-06T16:30:41.639042+08:00"
|
||
|
|
}
|