zhangqian
2023-12-08 288d78f66ecd1b628e8d1df7a3da99fc5e6880ec
debug
1个文件已修改
2 ■■■ 已修改文件
model/model.go 2 ●●● 补丁 | 查看 | 原始文档 | 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"`