mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 00:46:15 -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
|
|
@ -35,7 +35,7 @@ type FollowRequest struct {
|
|||
TargetAccountID string `bun:"type:CHAR(26),unique:frsrctarget,notnull"`
|
||||
TargetAccount *Account `bun:"rel:belongs-to"`
|
||||
// Does this follow also want to see reblogs and not just posts?
|
||||
ShowReblogs bool `bun:"default:true"`
|
||||
ShowReblogs bool `bun:",nullzero,notnull,default:true"`
|
||||
// What is the activitypub URI of this follow request?
|
||||
URI string `bun:",unique,nullzero"`
|
||||
// does the following account want to be notified when the followed account posts?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue