mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 12:07:31 -06:00
formatting,comments
This commit is contained in:
parent
0abe01ea22
commit
81760963b0
5 changed files with 212 additions and 87 deletions
|
|
@ -22,11 +22,11 @@ import "time"
|
|||
|
||||
type Status struct {
|
||||
ID string `pg:"type:uuid,default:gen_random_uuid(),pk,notnull"`
|
||||
URI string
|
||||
URL string
|
||||
URI string `pg:",unique"`
|
||||
URL string `pg:",unique"`
|
||||
Content string
|
||||
CreatedAt time.Time `pg:"type:timestamp,notnull"`
|
||||
UpdatedAt time.Time `pg:"type:timestamp,notnull"`
|
||||
CreatedAt time.Time `pg:"type:timestamp,notnull,default:now()"`
|
||||
UpdatedAt time.Time `pg:"type:timestamp,notnull,default:now()"`
|
||||
Local bool
|
||||
AccountID string
|
||||
InReplyToID string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue