miscellaneous modifications

This commit is contained in:
2020-03-03 23:35:52 -06:00
parent 6ffcb83e1e
commit 358a99a8fb
40 changed files with 157 additions and 102 deletions
+3 -2
View File
@@ -4,7 +4,6 @@ namespace App\Console\Commands;
//Internal Library
use Illuminate\Console\Command;
use DB;
use Commands\Library\CommandHelper;
//Models
@@ -67,7 +66,9 @@ class GetCorpsCommand extends Command
dd($e->getEsiResponse());
}
//Delete all of the entries in the AllianceCorps table
DB::table('AllianceCorps')->delete();
AllianceCorp::truncate();
//Foreach corporation, make entries into the database.
foreach($corporations as $corp) {
try {
$corpInfo = $esi->invoke('get', '/corporations/{corporation_id}/', [