Skip to content

Commit

Permalink
Update model.go
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jul 3, 2024
1 parent 9dcf363 commit e8007b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/model/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ type Ipsw struct {
}

type Device struct {
Name string `gorm:"primaryKey" json:"name"`
Name string `gorm:"primaryKey" json:"name"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"index"`
}

// Kernelcache is the model for a kernelcache.
Expand Down

0 comments on commit e8007b2

Please sign in to comment.