Change the table seeders a little

This commit is contained in:
James Brooks
2015-01-16 10:36:35 +00:00
parent 9efb1f39da
commit c38f08cc22
3 changed files with 24 additions and 7 deletions

View File

@@ -20,9 +20,12 @@ class UsersTableSeeder extends Seeder
"username" => "test",
"password" => "test123",
"email" => "test@test.com",
"level" => 1,
]
];
User::truncate();
foreach ($users as $user) {
User::create($user);
}