go-xorm / cmd

Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
BSD 3-Clause "New" or "Revised" License
168 stars 77 forks source link

表中存在复合主键,生成代码时主键字段会生成双份 #40

Open sankeyou opened 6 years ago

sankeyou commented 6 years ago

表中存在复合主键,生成代码时主键字段会生成双份

b97a4fb8d104566a1675dab156533137

xorm 从数据库中生成模型代码

7898693fa3481c353dd59bd3443161ab

数据库环境:postgresql9.6