Move Audio to media package
This commit is contained in:
13
models.go
13
models.go
@@ -53,19 +53,6 @@ type Transcode struct {
|
||||
Rate uint
|
||||
}
|
||||
|
||||
type Audio struct {
|
||||
gorm.Model
|
||||
OriginalID uint // Original.ID
|
||||
Source string // "original", "transcode"
|
||||
Bps uint
|
||||
Length float64
|
||||
Size int64
|
||||
Type string
|
||||
Codec string
|
||||
Filename string
|
||||
Status string // "pending", "completed", "failed"
|
||||
}
|
||||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
Username string `gorm:"unique"`
|
||||
|
Reference in New Issue
Block a user