More updates for laravel 11
This commit is contained in:
12
app/Models/Pivots/ViaPivot.php
Normal file
12
app/Models/Pivots/ViaPivot.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Pivots;
|
||||
|
||||
use Illuminate\Database\Eloquent\Relations\Pivot;
|
||||
|
||||
class ViaPivot extends Pivot
|
||||
{
|
||||
protected $casts = [
|
||||
'datetime' => 'datetime',
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user