Skip to content

Commit

Permalink
恢复 deleted_at type
Browse files Browse the repository at this point in the history
  • Loading branch information
zcpua committed Apr 22, 2022
1 parent 533b0b3 commit 4ab6937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/view/model/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func getGormModelElement() []EmInfo {
result = append(result, EmInfo{
IsMulti: false,
Notes: "deleted time",
Type: "gorm.DeletedAt", // Type.类型标记
Type: "time.Time", // Type.类型标记
ColName: "deleted_at",
ColStructName: "DeletedAt",
})
Expand Down

0 comments on commit 4ab6937

Please sign in to comment.