mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 00:16:16 -06:00
clean up the final diff a bit
This commit is contained in:
parent
187c5fdf23
commit
f55be91579
2 changed files with 1 additions and 1 deletions
|
|
@ -382,7 +382,6 @@ func (v Visibility) String() string {
|
|||
type StatusContentType enumType
|
||||
|
||||
const (
|
||||
// The "unset"
|
||||
StatusContentTypePlain StatusContentType = 1
|
||||
StatusContentTypeMarkdown StatusContentType = 2
|
||||
StatusContentTypeDefault = StatusContentTypePlain
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ type StatusEdit struct {
|
|||
PollVotes []int `bun:",array"` // Poll vote count at time of status edit, only set if poll votes were reset.
|
||||
StatusID string `bun:"type:CHAR(26),nullzero,notnull"` // The originating status ID this is a historical edit of.
|
||||
CreatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // The creation time of this version of the status content (according to receiving server).
|
||||
|
||||
// We don't bother having a *gtsmodel.Status model here
|
||||
// as the StatusEdit is always just attached to a Status,
|
||||
// so it doesn't need a self-reference back to it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue