外键支持

This commit is contained in:
谢小军
2019-10-28 15:36:25 +08:00
parent 8c466e9626
commit a33a7a0ec9

View File

@@ -61,13 +61,13 @@ Flags:
- Database tables, column field annotation support
- singular_table, Table name plural (big Camel-Case)
- json tag json tag output
- gorm.Model [Support export gorm.model>>>](doc/export_cn.md)
- gorm.Model [Support export gorm.model>>>](doc/export.md)
- PRIMARY_KEY Specifies column as primary key
- UNIQUE Specifies column as unique
- NOT NULL Specifies column as NOT NULL
- INDEX Create index with or without name, same name creates composite indexes
- UNIQUE_INDEX Like INDEX, create unique index
- Support foreign key related properties [Support export gorm.model>>>](doc/export_cn.md)
- Support foreign key related properties [Support export gorm.model>>>](doc/export.md)
### You can enrich data types in [def](data/view/cnf/def.go)