mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-31 18:47:00 +00:00
108 - Connecting Promoters and Concerts
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user