clean up the final diff a bit

This commit is contained in:
ewin 2025-03-05 18:19:52 -05:00
commit f55be91579
No known key found for this signature in database
2 changed files with 1 additions and 1 deletions

View file

@ -382,7 +382,6 @@ func (v Visibility) String() string {
type StatusContentType enumType
const (
// The "unset"
StatusContentTypePlain StatusContentType = 1
StatusContentTypeMarkdown StatusContentType = 2
StatusContentTypeDefault = StatusContentTypePlain

View file

@ -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.