From 4c155aa847b30801d0f73b56d9815ea706097264 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 10 Mar 2024 13:27:31 +0100 Subject: [bugfix] Fix whitespace move_id issue (#2742) --- internal/gtsmodel/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/gtsmodel') 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? -- cgit v1.2.3