diff --git a/internal/cache/db.go b/internal/cache/db.go index 659a54210..82cd9ac5f 100644 --- a/internal/cache/db.go +++ b/internal/cache/db.go @@ -304,18 +304,10 @@ func (c *Caches) initAccount() { c.DB.Account.Init(structr.CacheConfig[*gtsmodel.Account]{ Indices: []structr.IndexConfig{ - // Unique fields. {Fields: "ID"}, {Fields: "URI"}, {Fields: "PublicKeyURI"}, {Fields: "Username,Domain", AllowZero: true}, - - // Potentially non-unique fields. - {Fields: "URL", Multiple: true}, - {Fields: "InboxURI", Multiple: true}, - {Fields: "OutboxURI", Multiple: true}, - {Fields: "FollowersURI", Multiple: true}, - {Fields: "FollowingURI", Multiple: true}, }, MaxSize: cap, IgnoreErr: ignoreErrors,