mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 03:03:16 -06:00
ensure ,notnull,nullzero on all columns with default values
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
5809dedc8b
commit
77a578528f
8 changed files with 19 additions and 19 deletions
|
|
@ -138,11 +138,11 @@ const (
|
|||
// If DIRECT is selected, boostable will be FALSE, and all other flags will be TRUE.
|
||||
type VisibilityAdvanced struct {
|
||||
// This status will be federated beyond the local timeline(s)
|
||||
Federated bool `bun:"default:true"`
|
||||
Federated bool `bun:",nullzero,notnull,default:true"`
|
||||
// This status can be boosted/reblogged
|
||||
Boostable bool `bun:"default:true"`
|
||||
Boostable bool `bun:",nullzero,notnull,default:true"`
|
||||
// This status can be replied to
|
||||
Replyable bool `bun:"default:true"`
|
||||
Replyable bool `bun:",nullzero,notnull,default:true"`
|
||||
// This status can be liked/faved
|
||||
Likeable bool `bun:"default:true"`
|
||||
Likeable bool `bun:",nullzero,notnull,default:true"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue