diff --git a/model.go b/model.go index 50fa52e6..ffa68b07 100644 --- a/model.go +++ b/model.go @@ -6,5 +6,5 @@ type Model struct { ID uint `gorm:"primary_key"` CreatedAt time.Time UpdatedAt time.Time - DeletedAt *time.Time + DeletedAt *time.Time `sql:"index"` }