14 lines
386 B
Go
14 lines
386 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
type PurgeSettings struct {
|
|
ID uint32 `gorm:"primaryKey"`
|
|
AutoPurgeEnabled bool `gorm:"not null"`
|
|
AutoPurgeIntervalDays int `gorm:"not null"`
|
|
LastPurgeAt *time.Time
|
|
LastPurgeMerged int `gorm:"not null"`
|
|
LastPurgeArticlesUpdated int `gorm:"not null"`
|
|
EnabledAt *time.Time
|
|
}
|