We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39efcb8 commit f660eb7Copy full SHA for f660eb7
model.go
@@ -9,6 +9,7 @@ import "time"
9
// gorm.Model
10
// }
11
type Model struct {
12
+ ID uint `gorm:"primarykey"`
13
CreatedAt time.Time
14
UpdatedAt time.Time
15
DeletedAt DeletedAt `gorm:"index"`
0 commit comments