Better db seeding for tests
This commit is contained in:
parent
e71c605acb
commit
20d71513f3
2 changed files with 7 additions and 10 deletions
|
@ -14,9 +14,9 @@ class Contact extends Model
|
|||
protected $table = 'contacts';
|
||||
|
||||
/**
|
||||
* We shall set a blacklist of non-modifiable model attributes.
|
||||
* We shall guard against mass-migration.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $guarded = ['id'];
|
||||
protected $fillable = ['nick', 'name', 'homepage', 'twitter', 'facebook'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue