added more comments

removed silly debug.
This commit is contained in:
Vedran Zelen
2020-07-27 12:40:45 +02:00
parent 6979d0c0b4
commit 4558e8d958
15 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -1,7 +1,7 @@
<?php
//The Model to a certain Controller, should contain a class with Controller name to which it belongs.
// Allows needed strings to passed onto the database. if there is none. class should appear empty.
// Allows needed strings to passed onto the database. if there is none needed. the class should appear empty.
//Reference to where the file belongs.
namespace App;
@@ -12,6 +12,7 @@ use Illuminate\Database\Eloquent\Model;
//Class of which should extend Model Library
class Album extends Model
{
//protected variable which contains name of database field(s) to be filled.
protected $fillable = [
'name'
];