summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-07-09 17:43:36 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-07-09 17:43:36 +0200
commita97a15fd10067e38dc51d84486df933aecdf48e1 (patch)
tree53525491b88ed511b5024e68e2a6170f68617614
parent[chore/testing] Add env vars to skip testrig setup/teardown (#4317) (diff)
downloadgotosocial-a97a15fd10067e38dc51d84486df933aecdf48e1.tar.xz
[bugfix] Fix wrong default used for `HidesCcPublicFromUnauthedWeb` in migration (#4318)
🤦 Changed it in gtsmodel but not in the migration ohhh, oooh Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4318 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
-rw-r--r--internal/db/bundb/migrations/20250708074906_unauthed_web_updates/new/account.go2
1 files changed, 1 insertions, 1 deletions
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 {