mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-22 11:46:40 +00:00
[bugfix] fix array type for also_known_as_uris (#2553)
This commit is contained in:
parent
bc51ec7d1b
commit
4e0488acfe
|
@ -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)
|
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
|
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?
|
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).
|
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.
|
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).
|
MovedTo *Account `bun:"-"` // This account has moved to this account (field not stored in the db).
|
||||||
|
|
Loading…
Reference in a new issue