Remove deleted_at

This commit is contained in:
Max Ignatenko 2024-02-15 20:29:08 +00:00
parent 8561d90caf
commit 8313c74482
4 changed files with 17 additions and 9 deletions

View file

@ -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