Browse Source

Updated Eloquent to Eloquent\Model

Brian 10 years ago
parent
commit
c3c93cf95b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      database/seeds/DatabaseSeeder.php

+ 2 - 1
database/seeds/DatabaseSeeder.php

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