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