Commit 03a27fa0 authored by Peter Haza's avatar Peter Haza

Enable model guarding after doing seeds

Leaving models unguarded can cause all kinds of havoc if someone uses seeds in their tests.
Best to default to reguard after doing the seeds.
parent 6575cb74
......@@ -15,5 +15,7 @@ class DatabaseSeeder extends Seeder
Model::unguard();
// $this->call('UserTableSeeder');
Model::reguard();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment