This commit is contained in:
2018-10-28 03:16:48 -05:00
parent ea0e4e5241
commit 5029cabb43
2 changed files with 3 additions and 25 deletions
+1 -23
View File
@@ -131,18 +131,8 @@ class MoonCalc {
'Price' => $item[$value]['sell']['median'],
'Time' => $time,
]);
/*
DB::table('Prices')->insert([
'Name' => $key,
'ItemId' => $value,
'Price' => $item[$value]['sell']['median'],
'Time' => $time
]);
*/
}
$this->UpdateItemPricing();
}
@@ -251,18 +241,6 @@ class MoonCalc {
'UnitPrice' => $price,
'm3Price' => $m3Price,
]);
/*
//Insert the prices into the Prices table
DB::table('OrePrices')->insert([
'Name' => $composition[0]->Name,
'ItemId' => $composition[0]->ItemId,
'BatchPrice' => $batchPrice,
'UnitPrice' => $price,
'm3Price' => $m3Price,
'Time' => $time
]);
*/
}
}
+2 -2
View File
@@ -13,8 +13,8 @@ class DatabaseSeeder extends Seeder
public function run()
{
$this->call([
//WikiTableSeeder::class,
//ConfigTableSeeder::class,
WikiTableSeeder::class,
ConfigTableSeeder::class,
OrePricesSeeder::class,
]);
}