mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-30 00:36:14 -06:00
code comment
This commit is contained in:
parent
5afc9ebeb3
commit
2f26878e33
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ import (
|
||||||
type Status struct {
|
type Status struct {
|
||||||
ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` // id of this item in the database
|
ID string `bun:"type:CHAR(26),pk,nullzero,notnull,unique"` // id of this item in the database
|
||||||
CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item created
|
CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item created
|
||||||
EditedAt time.Time `bun:"type:timestamptz,nullzero"` //
|
EditedAt time.Time `bun:"type:timestamptz,nullzero"` // when this status was last edited (if set)
|
||||||
FetchedAt time.Time `bun:"type:timestamptz,nullzero"` // when was item (remote) last fetched.
|
FetchedAt time.Time `bun:"type:timestamptz,nullzero"` // when was item (remote) last fetched.
|
||||||
PinnedAt time.Time `bun:"type:timestamptz,nullzero"` // Status was pinned by owning account at this time.
|
PinnedAt time.Time `bun:"type:timestamptz,nullzero"` // Status was pinned by owning account at this time.
|
||||||
URI string `bun:",unique,nullzero,notnull"` // activitypub URI of this status
|
URI string `bun:",unique,nullzero,notnull"` // activitypub URI of this status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue