From a97a15fd10067e38dc51d84486df933aecdf48e1 Mon Sep 17 00:00:00 2001 From: tobi Date: Wed, 9 Jul 2025 17:43:36 +0200 Subject: [PATCH] [bugfix] Fix wrong default used for `HidesCcPublicFromUnauthedWeb` in migration (#4318) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤦 Changed it in gtsmodel but not in the migration ohhh, oooh Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4318 Co-authored-by: tobi Co-committed-by: tobi --- .../20250708074906_unauthed_web_updates/new/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/bundb/migrations/20250708074906_unauthed_web_updates/new/account.go b/internal/db/bundb/migrations/20250708074906_unauthed_web_updates/new/account.go index ad25a5bc9..a2b12e49e 100644 --- a/internal/db/bundb/migrations/20250708074906_unauthed_web_updates/new/account.go +++ b/internal/db/bundb/migrations/20250708074906_unauthed_web_updates/new/account.go @@ -69,7 +69,7 @@ type Account struct { // Added in this migration: HidesToPublicFromUnauthedWeb *bool `bun:",nullzero,notnull,default:false"` - HidesCcPublicFromUnauthedWeb *bool `bun:",nullzero,notnull,default:false"` + HidesCcPublicFromUnauthedWeb *bool `bun:",nullzero,notnull,default:true"` } type Field struct {