mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 18:38:08 -06:00
plodding along
This commit is contained in:
parent
eb57c95c14
commit
77736b926b
6 changed files with 472 additions and 40 deletions
|
|
@ -76,15 +76,15 @@ type Account struct {
|
|||
*/
|
||||
|
||||
// Does this account need an approval for new followers?
|
||||
Locked bool `pg:",default:true"`
|
||||
Locked bool `pg:",default:'true'"`
|
||||
// Should this account be shown in the instance's profile directory?
|
||||
Discoverable bool
|
||||
// Default post privacy for this account
|
||||
Privacy Visibility
|
||||
// Set posts from this account to sensitive by default?
|
||||
Sensitive bool `pg:",default:false"`
|
||||
Sensitive bool `pg:",default:'false'"`
|
||||
// What language does this account post in?
|
||||
Language string `pg:",default:en"`
|
||||
Language string `pg:",default:'en'"`
|
||||
|
||||
/*
|
||||
ACTIVITYPUB THINGS
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ import "time"
|
|||
type Tag struct {
|
||||
// id of this tag in the database
|
||||
ID string `pg:",unique,type:uuid,default:gen_random_uuid(),pk,notnull"`
|
||||
// Href of this tag, eg https://example.org/tags/somehashtag
|
||||
URL string
|
||||
// name of this tag -- the tag without the hash part
|
||||
Name string `pg:",unique,pk,notnull"`
|
||||
// Which account ID is the first one we saw using this tag?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue