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