[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>
This commit is contained in:
tobi 2025-07-09 17:43:36 +02:00 committed by tobi
commit a97a15fd10

View file

@ -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 {