start work on media storage
This commit is contained in:
parent
cb67b6e2fb
commit
3964c32438
5 changed files with 64 additions and 1 deletions
|
@ -18,7 +18,7 @@ type MediaMetadata struct {
|
|||
// If not null, this entry is marked as deleted
|
||||
DeletedAt gorm.DeletedAt `gorm:"index"`
|
||||
Remote bool // whether the attachment is a remote one
|
||||
// Where the media is stored. Url if remote file,
|
||||
// Where the media is stored. Url if remote file, file path if local
|
||||
Location string
|
||||
Type string // What media type this is following mime types, eg image/png
|
||||
// Descriptive name for a media file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue