Fixed seeding

This commit is contained in:
Graham Campbell 2015-01-01 16:00:19 +00:00
parent 860d5e8cbe
commit a1e91be91c
5 changed files with 9 additions and 6 deletions

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Seeder;
class ComponentTableSeeder extends Seeder
{
/**
* Run the database seeds.
* Run the database seeding.
*
* @return void
*/

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
/**
* Run the database seeds.
* Run the database seeding.
*
* @return void
*/

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Seeder;
class IncidentTableSeeder extends Seeder
{
/**
* Run the database seeds.
* Run the database seeding.
*
* @return void
*/

View File

@ -6,7 +6,7 @@ use Illuminate\Database\Seeder;
class SettingsTableSeeder extends Seeder
{
/**
* Run the database seeds.
* Run the database seeding.
*
* @return void
*/

View File

@ -1,15 +1,18 @@
<?php
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Seeder;
class UsersTableSeeder extends Seeder
{
/**
* Run the database seeds.
* Run the database seeding.
*
* @return void
*/
public function run()
{
Eloquent::unguard();
Model::unguard();
$users = [
[