(front end prep for Purchasing Tickets module)

This commit is contained in:
Adam Wathan
2016-11-07 09:56:51 -05:00
parent a3d6a1efcd
commit ced05329c6
53 changed files with 12963 additions and 273 deletions

View File

@@ -1,5 +1,7 @@
<?php
use App\Concert;
use Carbon\Carbon;
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
@@ -11,6 +13,17 @@ class DatabaseSeeder extends Seeder
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
factory(App\Concert::class)->states('published')->create([
'title' => "The Red Chord",
'subtitle' => "with Animosity and Lethargy",
'venue' => "The Mosh Pit",
'venue_address' => "123 Example Lane",
'city' => "Laraville",
'state' => "ON",
'zip' => "17916",
'date' => Carbon::parse('2016-12-13 8:00pm'),
'ticket_price' => 3250,
'additional_information' => "This concert is 19+.",
]);
}
}