Add BaseModel with stricter attribute existence checking

This commit is contained in:
2018-07-29 16:37:11 +02:00
parent 72ddd75023
commit f1529b3b8e
10 changed files with 53 additions and 23 deletions
+1 -3
View File
@@ -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;