Browse Source

Unguard all Eloquent attributes in seeder.

Taylor Otwell 11 years ago
parent
commit
77d748a145
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/database/seeds/DatabaseSeeder.php

+ 2 - 0
app/database/seeds/DatabaseSeeder.php

@@ -9,6 +9,8 @@ class DatabaseSeeder extends Seeder {
 	 */
 	public function run()
 	{
+		Eloquent::unguard();
+
 		// $this->call('UserTableSeeder');
 	}