Add BaseModel with stricter attribute existence checking
This commit is contained in:
+1
-3
@@ -2,15 +2,13 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Row in a data table
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $data - JSONB
|
||||
*/
|
||||
class Row extends Model
|
||||
class Row extends BaseModel
|
||||
{
|
||||
protected $guarded = [];
|
||||
public $timestamps = false;
|
||||
|
||||
Reference in New Issue
Block a user