diff options
Diffstat (limited to 'internal/gtsmodel/follow.go')
-rw-r--r-- | internal/gtsmodel/follow.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/follow.go b/internal/gtsmodel/follow.go index 3d3eb1f1b..1e1095af9 100644 --- a/internal/gtsmodel/follow.go +++ b/internal/gtsmodel/follow.go @@ -37,7 +37,7 @@ type Follow struct { // Does this follow also want to see reblogs and not just posts? ShowReblogs bool `bun:"default:true"` // What is the activitypub URI of this follow? - URI string `bun:",unique"` + URI string `bun:",unique,nullzero"` // does the following account want to be notified when the followed account posts? Notify bool } |