mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-05 23:03:15 -06:00
remove media_attachments.updated_at column
This commit is contained in:
parent
d1db703e5b
commit
736d45db7f
11 changed files with 134 additions and 90 deletions
|
|
@ -26,7 +26,6 @@ import (
|
|||
type MediaAttachment struct {
|
||||
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
|
||||
UpdatedAt time.Time `bun:"type:timestamptz,nullzero,notnull,default:current_timestamp"` // when was item last updated
|
||||
StatusID string `bun:"type:CHAR(26),nullzero"` // ID of the status to which this is attached
|
||||
URL string `bun:",nullzero"` // Where can the attachment be retrieved on *this* server
|
||||
RemoteURL string `bun:",nullzero"` // Where can the attachment be retrieved on a remote server (empty for local media)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue