mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
【feat】 添加postgresql数据库支持,【修复】pg数据库的代码生成功能
This commit is contained in:
@@ -19,6 +19,7 @@ type DevGenTable struct {
|
||||
Remark string `gorm:"remark" json:"remark"` // 备注
|
||||
PkColumn string `gorm:"pk_column;" json:"pkColumn"`
|
||||
PkGoField string `gorm:"pk_go_field" json:"pkGoField"`
|
||||
PkGoType string `gorm:"pk_go_type" json:"pkGoType"`
|
||||
PkJsonField string `gorm:"pk_json_field" json:"pkJsonField"`
|
||||
Columns []DevGenTableColumn `gorm:"-" json:"columns"` // 字段信息
|
||||
model.BaseModel
|
||||
|
||||
Reference in New Issue
Block a user