diff options
Diffstat (limited to 'internal/gtsmodel/follow.go')
-rw-r--r-- | internal/gtsmodel/follow.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gtsmodel/follow.go b/internal/gtsmodel/follow.go index 15f01cfd2..8f5a01d3b 100644 --- a/internal/gtsmodel/follow.go +++ b/internal/gtsmodel/follow.go @@ -30,6 +30,6 @@ type Follow struct { Account *Account `validate:"-" bun:"rel:belongs-to"` // Account corresponding to accountID TargetAccountID string `validate:"required,ulid" bun:"type:CHAR(26),unique:srctarget,notnull,nullzero"` // Who is the target of this follow ? TargetAccount *Account `validate:"-" bun:"rel:belongs-to"` // Account corresponding to targetAccountID - ShowReblogs bool `validate:"-" bun:",default:true"` // Does this follow also want to see reblogs and not just posts? - Notify bool `validate:"-" bun:",default:false"` // does the following account want to be notified when the followed account posts? + ShowReblogs *bool `validate:"-" bun:",nullzero,notnull,default:true"` // Does this follow also want to see reblogs and not just posts? + Notify *bool `validate:"-" bun:",nullzero,notnull,default:false"` // does the following account want to be notified when the followed account posts? } |