model/model.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
model/model.go
@@ -7,7 +7,7 @@ ) type CommonModel struct { ID uint `gorm:"primary_key"` ID uint `gorm:"primary_key;autoIncrement:false"` CreatedAt time.Time UpdatedAt time.Time DeletedAt *time.Time `sql:"index"`