程序员茄子
全部
编程
代码
资讯
案例
综合
联系我们
SchemaSpy 相关技术文章
php
mysql
shell
go
vue
css
api接口对接
支付接口对接
没有 FOREIGN KEY 的库,如何让 ER 图连上线:tbls 与 SchemaSpy 的关系推断
编程
没有 FOREIGN KEY 的库,如何让 ER 图连上线:tbls 与 SchemaSpy 的关系推断
2026-11-11 00:04:10
老库和删掉外键的库用 tbls/SchemaSpy 生成文档时,ER 图常常是一堆没有连线的孤岛。这篇讲清 tbls 的 relations 手写与 detectVirtualRelations 五种推断策略各匹配什么、哪里会误判,以及 SchemaSpy 的 implied relationships 与 SchemaMeta 如何纠正,最后给出把推断结果固定进 CI 的做法。
数据库文档
tbls
SchemaSpy
ER图
外键
MySQL
PostgreSQL
大家都在搜索什么?
devops
易支付
一个官网+多少钱
统一接受回调
统一回调
python
sub
node
宝塔日志
mysql
shell
ElasticSearch
css
vue
api接口对接
2025
支付接口对接
go
php
php回调