|
@@ -1,6 +1,7 @@
|
|
<?php
|
|
<?php
|
|
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
+use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
class DatabaseSeeder extends Seeder {
|
|
class DatabaseSeeder extends Seeder {
|
|
|
|
|
|
@@ -11,7 +12,7 @@ class DatabaseSeeder extends Seeder {
|
|
*/
|
|
*/
|
|
public function run()
|
|
public function run()
|
|
{
|
|
{
|
|
- Eloquent::unguard();
|
|
|
|
|
|
+ Model::unguard();
|
|
|
|
|
|
// $this->call('UserTableSeeder');
|
|
// $this->call('UserTableSeeder');
|
|
}
|
|
}
|