This commit is contained in:
2019-09-27 20:19:23 -05:00
parent a5ffc435d4
commit b0cae9ca37

View File

@@ -34,7 +34,7 @@ class SolarSystemSeeder extends Seeder
}
$count = SolarSystem::where(['system_id' => $system])->count();
$count = SolarSystem::where(['solar_system_id' => $system])->count();
if($count == 0) {
SolarSystem::insert([
'name' => $info->name,