Fix local casting overriding class casting
This commit is contained in:
parent
b8f606b0f1
commit
952bb1e38e
@ -17,12 +17,6 @@ abstract class Catalog extends Model
|
||||
{
|
||||
protected static $includeSubSecTime = FALSE;
|
||||
|
||||
protected $casts = [
|
||||
'created_manual' => 'datetime',
|
||||
'subsectime' => 'int',
|
||||
'thumbnail' => PostgresBytea::class,
|
||||
];
|
||||
|
||||
public const fs = 'nas';
|
||||
|
||||
private ?string $move_reason;
|
||||
|
@ -17,6 +17,8 @@ class Photo extends Abstracted\Catalog
|
||||
|
||||
protected $casts = [
|
||||
'created' => 'datetime:Y-m-d H:i:s',
|
||||
'created_manual' => 'datetime:Y-m-d H:i:s',
|
||||
'subsectime' => 'int',
|
||||
'thumbnail' => PostgresBytea::class,
|
||||
];
|
||||
|
||||
|
@ -10,6 +10,7 @@ class Video extends Abstracted\Catalog
|
||||
|
||||
protected $casts = [
|
||||
'created' => 'datetime:Y-m-d H:i:s',
|
||||
'created_manual' => 'datetime:Y-m-d H:i:s',
|
||||
];
|
||||
|
||||
// Media Object
|
||||
|
Loading…
Reference in New Issue
Block a user