remove unnecessary notnulls

Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
kim (grufwub) 2021-08-26 21:46:24 +01:00
commit 850c564de1
4 changed files with 10 additions and 10 deletions

View file

@ -35,7 +35,7 @@ type Follow struct {
TargetAccountID string `bun:"type:CHAR(26),unique:srctarget,notnull"`
TargetAccount *Account `bun:"rel:belongs-to"`
// Does this follow also want to see reblogs and not just posts?
ShowReblogs bool `bun:",nullzero,notnull,default:true"`
ShowReblogs bool `bun:",nullzero,default:true"`
// What is the activitypub URI of this follow?
URI string `bun:",unique,nullzero"`
// does the following account want to be notified when the followed account posts?