108 - Connecting Promoters and Concerts

This commit is contained in:
Adam Wathan
2017-05-23 10:28:00 -04:00
parent 68a1d94540
commit fc6389ca01
6 changed files with 25 additions and 4 deletions

View File

@@ -26,6 +26,9 @@ $factory->define(App\User::class, function (Faker\Generator $faker) {
$factory->define(App\Concert::class, function (Faker\Generator $faker) {
return [
'user_id' => function () {
return factory(App\User::class)->create()->id;
},
'title' => 'Example Band',
'subtitle' => 'with The Fake Openers',
'date' => Carbon::parse('+2 weeks'),