Add more things for file handling
This commit is contained in:
parent
c813c4784a
commit
1fcf47bffc
14 changed files with 284 additions and 59 deletions
|
@ -22,7 +22,7 @@ type MediaMetadata struct {
|
|||
// OwnedBy User
|
||||
OwnedById sql.NullString // Account id this media belongs to
|
||||
Remote bool // whether the attachment is a remote one
|
||||
// Where the media is stored. Url
|
||||
// Where the media is stored. Url for remote files, the object name for local files
|
||||
Location string
|
||||
Type string // What media type this is following mime types, eg image/png
|
||||
// Name of the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue