Add BaseModel with stricter attribute existence checking
This commit is contained in:
@@ -3,13 +3,10 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Model representing the pivot table, used for more efficient favourite counting
|
||||
*/
|
||||
class TableFavouritePivot extends Model
|
||||
class TableFavouritePivot extends BaseModel
|
||||
{
|
||||
protected $table = 'table_favourites';
|
||||
public $timestamps = [];
|
||||
|
||||
Reference in New Issue
Block a user