foreign key en

This commit is contained in:
谢小军
2019-10-27 22:14:33 +08:00
parent 952fa3e9c1
commit c019883dc7
4 changed files with 180 additions and 184 deletions

View File

@@ -54,7 +54,7 @@ Flags:
- 数据库表,列字段注释支持
- singular_table 表名复数(大驼峰)
- json tag json标签输出
- gorm.Model 基本模型 [简单带外键模式导出>>>](doc/export_cn.md)
- gorm.Model 基本模型 [支持gorm.Model模式导出>>>](doc/export_cn.md)
- PRIMARY_KEY 将列指定为主键
- UNIQUE 将列指定为唯一
- NOT NULL 将列指定为非 NULL