mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-03-13 21:04:11 +00:00
(seed a user for development)
This commit is contained in:
@@ -13,6 +13,11 @@ class DatabaseSeeder extends Seeder
|
|||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
|
factory(App\User::class)->create([
|
||||||
|
'email' => "adam@example.com",
|
||||||
|
'password' => bcrypt('secret'),
|
||||||
|
]);
|
||||||
|
|
||||||
factory(App\Concert::class)->states('published')->create([
|
factory(App\Concert::class)->states('published')->create([
|
||||||
'title' => "The Red Chord",
|
'title' => "The Red Chord",
|
||||||
'subtitle' => "with Animosity and Lethargy",
|
'subtitle' => "with Animosity and Lethargy",
|
||||||
|
|||||||
Reference in New Issue
Block a user