summaryrefslogtreecommitdiff
path: root/internal/gtsmodel/account.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-05-28 19:57:04 +0200
committerLibravatar GitHub <noreply@github.com>2021-05-28 19:57:04 +0200
commit87177d840b9703f572392ef4bd0f5013fd5c3a77 (patch)
treec59388998d5defd5ec3577483f70736238953f72 /internal/gtsmodel/account.go
parentNotifications (#34) (diff)
downloadgotosocial-87177d840b9703f572392ef4bd0f5013fd5c3a77.tar.xz
Announce/boost (#35)
Remote boosts incoming/outgoing now working.
Diffstat (limited to 'internal/gtsmodel/account.go')
-rw-r--r--internal/gtsmodel/account.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/gtsmodel/account.go b/internal/gtsmodel/account.go
index d6ce95cc9..04eb58e8c 100644
--- a/internal/gtsmodel/account.go
+++ b/internal/gtsmodel/account.go
@@ -76,13 +76,13 @@ type Account struct {
*/
// Does this account need an approval for new followers?
- Locked bool
+ Locked bool `pg:",default:false"`
// Should this account be shown in the instance's profile directory?
- Discoverable bool
+ Discoverable bool `pg:",default:false"`
// Default post privacy for this account
- Privacy Visibility
+ Privacy Visibility `pg:",default:'public'"`
// Set posts from this account to sensitive by default?
- Sensitive bool
+ Sensitive bool `pg:",default:false"`
// What language does this account post in?
Language string `pg:",default:'en'"`