fix(import): save media files during podcast import + set missing media fields

This commit is contained in:
Yassine Doghri 2021-12-21 13:42:31 +00:00
commit a9989d841a
8 changed files with 48 additions and 20 deletions

View file

@ -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[]
*/