diff options
author | 2024-01-21 16:34:38 +0100 | |
---|---|---|
committer | 2024-01-21 16:34:38 +0100 | |
commit | 4e0488acfecf1960e9c60aeb578905b42406616f (patch) | |
tree | ff0c39c95a801e401664c176cb1e5fdcf756f18c /internal/gtsmodel/account.go | |
parent | [bugfix/frontend] Break word on profile field names and values (#2551) (diff) | |
download | gotosocial-4e0488acfecf1960e9c60aeb578905b42406616f.tar.xz |
[bugfix] fix array type for also_known_as_uris (#2553)
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r-- | internal/gtsmodel/account.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go index 02d386719..fb6c54bec 100644 --- a/internal/gtsmodel/account.go +++ b/internal/gtsmodel/account.go @@ -52,7 +52,7 @@ type Account struct { Note string `bun:""` // A note that this account has on their profile (ie., the account's bio/description of themselves) NoteRaw string `bun:""` // The raw contents of .Note without conversion to HTML, only available when requester = target Memorial *bool `bun:",default:false"` // Is this a memorial account, ie., has the user passed away? - AlsoKnownAsURIs []string `bun:"also_known_as_uris,nullzero"` // This account is associated with these account URIs. + AlsoKnownAsURIs []string `bun:"also_known_as_uris,array"` // This account is associated with these account URIs. AlsoKnownAs []*Account `bun:"-"` // This account is associated with these accounts (field not stored in the db). MovedToURI string `bun:",nullzero"` // This account has moved to this account URI. MovedTo *Account `bun:"-"` // This account has moved to this account (field not stored in the db). |