restore composer.json, add mysqli extension
This commit is contained in:
20
app/Models/Preview.php
Executable file
20
app/Models/Preview.php
Executable file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Preview extends Model
|
||||
{
|
||||
protected $table = 'previews';
|
||||
|
||||
protected $guarded = ['id'];
|
||||
|
||||
protected $casts = [
|
||||
'name' => 'array',
|
||||
'characteristics' => 'array',
|
||||
'leader_of_sales' => 'boolean',
|
||||
'popular' => 'boolean',
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user