mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-07 02:50:12 +00:00
(front end prep for Purchasing Tickets module)
This commit is contained in:
@@ -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+.",
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user