Remove deleted_at
This commit is contained in:
parent
8561d90caf
commit
8313c74482
4 changed files with 17 additions and 9 deletions
|
@ -4,10 +4,14 @@ import (
|
|||
"time"
|
||||
|
||||
"gorm.io/gorm"
|
||||
|
||||
"github.com/uabluerail/indexer/models"
|
||||
)
|
||||
|
||||
type PDS struct {
|
||||
gorm.Model
|
||||
ID models.ID `gorm:"primarykey"`
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
Host string `gorm:"uniqueIndex"`
|
||||
Cursor int64
|
||||
FirstCursorSinceReset int64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue