added more comments
removed silly debug.
This commit is contained in:
@@ -10,6 +10,7 @@ namespace App;
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
//Class of which should extend Model Library
|
||||
class Event extends Model
|
||||
{
|
||||
/**
|
||||
@@ -17,6 +18,7 @@ class Event extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
//protected variable which contains name of database field(s) to be filled.
|
||||
protected $fillable = [
|
||||
"name", "description", "date"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user