mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 03:06:43 +02:00
fix(import): save media files during podcast import + set missing media fields
This commit is contained in:
parent
58e2a00a87
commit
a9989d841a
8 changed files with 48 additions and 20 deletions
|
|
@ -32,6 +32,23 @@ class MediaModel extends Model
|
|||
*/
|
||||
protected $returnType = Document::class;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $useSoftDeletes = true;
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
protected $useTimestamps = true;
|
||||
|
||||
/**
|
||||
* The column used for insert timestamps
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $createdField = 'uploaded_at';
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue