Squashed commit of the following:
commit 94b13846d90c02041f56b21111709da91cd40726
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Oct 22 15:51:47 2017 +0100
Remove un-needed use statement
commit c370d83766fb10a100f780124bdcfc2694208140
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Oct 22 15:44:50 2017 +0100
use fillable instead of guarded, drop dates transform
commit dcf620c168f75d6c9860f5149adebfaceb9d772f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Oct 22 15:42:41 2017 +0100
Given we are adding a property for contacts, we need to invoke Laravel’s
own model __construct() method.
commit 0cba9301c3175e60bf1c3b0ada36c79a3c33c72c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Oct 22 15:37:19 2017 +0100
Given change in mass-assignment protection, change how we populate database
commit 7d09d174153ca99c0975d70fbccdc340d437227c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Sun Oct 22 10:38:51 2017 +0100
Use a property to hold parsed contact info
commit 25b05f8592ee282da5d82227b9873b523e9955d3
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Fri Oct 20 17:19:44 2017 +0100
First attempts at reducing eloquent calls
This commit is contained in:
parent
52f8990e2c
commit
1ba1b40588
4 changed files with 86 additions and 70 deletions
|
|
@ -5,7 +5,5 @@ use Faker\Generator as Faker;
|
|||
$factory->define(App\Note::class, function (Faker $faker) {
|
||||
return [
|
||||
'note' => $faker->paragraph,
|
||||
'tweet_id' => $faker->randomNumber(9),
|
||||
'facebook_url' => 'https://facebook.com/' . $faker->randomNumber(9),
|
||||
];
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue