summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/account.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-03-10 13:27:31 +0100
committerLibravatar GitHub <noreply@github.com>2024-03-10 13:27:31 +0100
commit4c155aa847b30801d0f73b56d9815ea706097264 (patch)
treee9424287febac3facc25af43e83db55bb0a95020 /internal/gtsmodel/account.go
parent[bugfix] Don't error when populating MovedTo if account not found (#2741) (diff)
downloadgotosocial-4c155aa847b30801d0f73b56d9815ea706097264.tar.xz
[bugfix] Fix whitespace move_id issue (#2742)
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r--internal/gtsmodel/account.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go
index 8b1412255..82be86955 100644
--- a/internal/gtsmodel/account.go
+++ b/internal/gtsmodel/account.go
@@ -57,7 +57,7 @@ type Account struct {
AlsoKnownAs []*Account `bun:"-"` // This account is associated with these accounts (field not stored in the db).
MovedToURI string `bun:",nullzero"` // This account has (or claims to have) moved to this account URI. Even if this field is set the move may not yet have been processed. Check `move` for this.
MovedTo *Account `bun:"-"` // This account has moved to this account (field not stored in the db).
- MoveID string `bun:""` // ID of a Move in the database for this account. Only set if we received or created a Move activity for which this account URI was the origin.
+ MoveID string `bun:"type:CHAR(26),nullzero"` // ID of a Move in the database for this account. Only set if we received or created a Move activity for which this account URI was the origin.
Move *Move `bun:"-"` // Move corresponding to MoveID, if set.
Bot *bool `bun:",default:false"` // Does this account identify itself as a bot?
Reason string `bun:""` // What reason was given for signing up when this account was created?