Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
@@ -10,8 +10,10 @@ namespace App;
|
||||
//allows the use of Model library
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
//Class of which should extend Model Library
|
||||
class Contact extends Model
|
||||
{
|
||||
//protected variable which contains name of database field(s) to be filled.
|
||||
protected $fillable = [
|
||||
'contactname', "title", 'email', 'phone'
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user