github.com/syucream/hakagi (go): HAKAGI(葉鍵, Leaf and Key) is a RDB analyzer that detects implicit foreign key constraints and others 
Keywords: er-diagram|mysql