diff options
Diffstat (limited to 'models/dns/txt.go')
| -rw-r--r-- | models/dns/txt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/dns/txt.go b/models/dns/txt.go index 98342b3..0ee69c3 100644 --- a/models/dns/txt.go +++ b/models/dns/txt.go @@ -9,5 +9,5 @@ type TXTRecord struct { DomainID uint `gorm:"not null;index" json:"domain_id"` Name string `gorm:"not null;default:@" json:"name"` Content string `gorm:"not null" json:"content"` - TTL uint32 `gorm:"not null;default:300" json:"ttl"` + TTL uint32 `gorm:"not null;default:1" json:"ttl"` } |
