Skip to content

Commit f660eb7

Browse files
committed
add test
1 parent 39efcb8 commit f660eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

model.go

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import "time"
99
// gorm.Model
1010
// }
1111
type Model struct {
12+
ID uint `gorm:"primarykey"`
1213
CreatedAt time.Time
1314
UpdatedAt time.Time
1415
DeletedAt DeletedAt `gorm:"index"`

0 commit comments

Comments
 (0)