created framework for market orders and public contracts
This commit is contained in:
@@ -49,7 +49,7 @@ class Kernel extends ConsoleKernel
|
||||
->withoutOverlapping();
|
||||
//Command to update moon rental pricing
|
||||
$schedule->command('services:UpdateMoonPrice')
|
||||
->hourly()
|
||||
->hourlyAt('30')
|
||||
->withoutOverlapping();
|
||||
//Get the corps within the alliance
|
||||
$schedule->command('services:GetCorps')
|
||||
@@ -57,8 +57,7 @@ class Kernel extends ConsoleKernel
|
||||
->withoutOverlapping();
|
||||
//Update the moons, and send out mails for current moon rentals
|
||||
$schedule->command('services:MoonMailer')
|
||||
->monthlyOn(1, '00:01')
|
||||
->withoutOverlapping();
|
||||
->monthlyOn(1, '00:01');
|
||||
//Get the structures within the alliance and their information
|
||||
$schedule->command('services:GetStructures')
|
||||
->dailyAt('09:00')
|
||||
|
||||
35
app/Http/Controllers/Contracts/BuyContractController.php
Normal file
35
app/Http/Controllers/Contracts/BuyContractController.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class BuyContractController extends Controller
|
||||
{
|
||||
/**
|
||||
* Contracts construct
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->middleware('auth');
|
||||
$this->middleware('role:User');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display region form to pick different regions such as Esoteria, Catch, Immensea
|
||||
*/
|
||||
public function displayRegionalContractForm() {
|
||||
return view('contracts.regional.user.displayregion');
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the contracts in a region
|
||||
*/
|
||||
public function displayRegionalContracts() {
|
||||
$this->validate('request', [
|
||||
'region_id' => 'required',
|
||||
]);
|
||||
|
||||
return view('contracts.regional.user.displaycontracts');
|
||||
}
|
||||
}
|
||||
42
app/Jobs/Commands/Market/GetMarketGroupsJob.php
Normal file
42
app/Jobs/Commands/Market/GetMarketGroupsJob.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Commands\Market;
|
||||
|
||||
//Internal Library
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Carbon\Carbon;
|
||||
use Log;
|
||||
|
||||
//App Library
|
||||
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\Library\Esi\Esi;
|
||||
use App\Library\Lookups\LookupHelper;
|
||||
|
||||
class GetMarketGroupsJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
42
app/Jobs/Commands/Market/GetMarketPricesJob.php
Normal file
42
app/Jobs/Commands/Market/GetMarketPricesJob.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Commands\Market;
|
||||
|
||||
//Internal Library
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Carbon\Carbon;
|
||||
use Log;
|
||||
|
||||
//App Library
|
||||
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\Library\Esi\Esi;
|
||||
use App\Library\Lookups\LookupHelper;
|
||||
|
||||
class GetMarketPricesJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
42
app/Jobs/Commands/Market/GetMarketRegionOrderJob.php
Normal file
42
app/Jobs/Commands/Market/GetMarketRegionOrderJob.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Commands\Market;
|
||||
|
||||
//Internal Library
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Carbon\Carbon;
|
||||
use Log;
|
||||
|
||||
//App Library
|
||||
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\Library\Esi\Esi;
|
||||
use App\Library\Lookups\LookupHelper;
|
||||
|
||||
class GetMarketRegionOrderJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Commands\PublicContracts;
|
||||
|
||||
//Internal Libraries
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Log;
|
||||
use Carbon\Carbon;
|
||||
|
||||
//App Library
|
||||
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\Library\Esi\Esi;
|
||||
use App\Library\Lookups\LookupHelper;
|
||||
|
||||
//Jobs
|
||||
use App\Jobs\Commands\PublicContracts\GetPublicContractItemsJob;
|
||||
|
||||
//Models
|
||||
use App\Models\PublicContracts\PublicContract;
|
||||
use App\Models\PublicContracts\PUblicContractItem;
|
||||
|
||||
class GetPublicContractItemsJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
45
app/Jobs/Commands/PublicContracts/GetPublicContractsJob.php
Normal file
45
app/Jobs/Commands/PublicContracts/GetPublicContractsJob.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
namespace App\Jobs\Commands\PublicContracts;
|
||||
|
||||
//Internal Libraries
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use Illuminate\Queue\InteractsWithQueue;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Foundation\Bus\Dispatchable;
|
||||
use Log;
|
||||
use Carbon\Carbon;
|
||||
|
||||
//App Library
|
||||
use Seat\Eseye\Exceptions\RequestFailedException;
|
||||
use App\Library\Esi\Esi;
|
||||
use App\Library\Lookups\LookupHellper;
|
||||
|
||||
//Models
|
||||
use App\Models\PublicContracts\PublicContract;
|
||||
|
||||
class GetPublicContractsJob implements ShouldQueue
|
||||
{
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
/**
|
||||
* Create a new job instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
74
app/Library/Market/MarketHelper.php
Normal file
74
app/Library/Market/MarketHelper.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
namespace App\Library\Market;
|
||||
|
||||
//Internal Library
|
||||
use Log;
|
||||
use Carbon\Carbon;
|
||||
|
||||
//Library
|
||||
use App\Library\Esi\Esi;
|
||||
|
||||
class MarketHelper {
|
||||
|
||||
/**
|
||||
* Private variables
|
||||
*
|
||||
* @var esi
|
||||
*/
|
||||
private $esi;
|
||||
|
||||
/**
|
||||
* Class Construct
|
||||
*/
|
||||
public function __construct($esi = null) {
|
||||
$this->esi = $esi;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the regional market orders
|
||||
*
|
||||
* @var region
|
||||
*/
|
||||
public function GetRegionalMarketOrders($region) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Price an item out and return the different price schemes
|
||||
*
|
||||
* @var itemId
|
||||
*/
|
||||
public function PriceItem($itemId) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the market group infromation
|
||||
*
|
||||
* @var group
|
||||
*/
|
||||
public function GetMarketGroup($group) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the public contract items
|
||||
*
|
||||
* @var contractId
|
||||
*/
|
||||
public function GetPublicContractItem($contractId) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get market price for an item
|
||||
*
|
||||
* @var itemId
|
||||
*/
|
||||
public function GetMarketPrice($itemId) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
85
app/Library/RegionalContracts/ContractHelper.php
Normal file
85
app/Library/RegionalContracts/ContractHelper.php
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
namespace App\Library\RegionalContracts;
|
||||
|
||||
//Internal Library
|
||||
use Log;
|
||||
use Carbon\Carbon;
|
||||
|
||||
//Library
|
||||
use App\Library\Esi\Esi;
|
||||
|
||||
class RegionalContractHelper {
|
||||
|
||||
/**
|
||||
* Region variable
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
private $region;
|
||||
|
||||
/**
|
||||
* ESI Variable
|
||||
*
|
||||
* @var esi
|
||||
*/
|
||||
private $esi;
|
||||
|
||||
/**
|
||||
* Construct
|
||||
*/
|
||||
public function __construct($region, $esi) {
|
||||
$this->region = $region;
|
||||
$this->esi = $esi;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the contracts within a region
|
||||
*
|
||||
* @var private
|
||||
*/
|
||||
public function GetContracts() {
|
||||
|
||||
//Get the public contracts from the ESI
|
||||
$responses = $this->esi->invoke('get', '/contracts/public/{region_id}/', [
|
||||
'region_id' => $this->region,
|
||||
]);
|
||||
|
||||
//Send the contracts back to the calling function
|
||||
return $responses;
|
||||
}
|
||||
|
||||
/**
|
||||
* Price the regional contract
|
||||
*
|
||||
* @var buyout
|
||||
* @var contract_id
|
||||
* @var date_expired
|
||||
* @var date_issued
|
||||
* @var days_to_complete
|
||||
* @var end_location_id
|
||||
* @var issuer_id
|
||||
* @var price
|
||||
* @var title
|
||||
* @var type [unknown, item_exchange, auction, courier, loan]
|
||||
* @var volume
|
||||
*/
|
||||
public function PriceContract($contract) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to get the items in a contract from ESI
|
||||
*
|
||||
* @var id
|
||||
*/
|
||||
public function GetContractItems($contractId) {
|
||||
$items = $this->esi->invoke('get', '/contracts/public/items/{contract_id}/', [
|
||||
'contract_id' => $contractId,
|
||||
]);
|
||||
|
||||
return $items;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
28
app/Models/Market/MarketGroup.php
Normal file
28
app/Models/Market/MarketGroup.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Market;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MarketGroup extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'market_groups';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'group',
|
||||
'description',
|
||||
'market_group_id',
|
||||
'name',
|
||||
'parent_group_id',
|
||||
'types',
|
||||
];
|
||||
}
|
||||
29
app/Models/Market/MarketPrice.php
Normal file
29
app/Models/Market/MarketPrice.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Market;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MarketPrice extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'market_prices';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'type_id',
|
||||
'adjusted_price',
|
||||
'average_price',
|
||||
'lowest_price',
|
||||
'highest_price',
|
||||
'order_count',
|
||||
'volume',
|
||||
];
|
||||
}
|
||||
34
app/Models/Market/MarketRegionOrder.php
Normal file
34
app/Models/Market/MarketRegionOrder.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Market;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MarketRegionOrder extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'market_region_orders';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'duration',
|
||||
'is_buy_order',
|
||||
'issued',
|
||||
'location_id',
|
||||
'min_volume',
|
||||
'order_id',
|
||||
'price',
|
||||
'range',
|
||||
'system_id',
|
||||
'type_id',
|
||||
'volume_remain',
|
||||
'volume_total',
|
||||
];
|
||||
}
|
||||
38
app/Models/PublicContracts/PublicContract.php
Normal file
38
app/Models/PublicContracts/PublicContract.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\PublicContracts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PublicContract extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'public_contracts';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'buyout',
|
||||
'collateral',
|
||||
'contract_id',
|
||||
'date_expired',
|
||||
'date_issued',
|
||||
'days_to_complete',
|
||||
'end_location_id',
|
||||
'for_corporation',
|
||||
'issuer_corporation_id',
|
||||
'issuer_id',
|
||||
'price',
|
||||
'reward',
|
||||
'start_location_id',
|
||||
'title',
|
||||
'type',
|
||||
'volume',
|
||||
];
|
||||
}
|
||||
31
app/Models/PublicContracts/PublicContractItem.php
Normal file
31
app/Models/PublicContracts/PublicContractItem.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\PublicContracts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PublicContractItem extends Model
|
||||
{
|
||||
//Table Name
|
||||
protected $table = 'public_contract_items';
|
||||
|
||||
//Timestamps
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* Items which are mass assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'is_blueprint_copy',
|
||||
'is_included',
|
||||
'item_id',
|
||||
'material_efficency',
|
||||
'quantity',
|
||||
'record_id',
|
||||
'runs',
|
||||
'time_efficiency',
|
||||
'type_id',
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateBuyPublicContractsTable extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
if(!Schema::hasTable('public_contracts')) {
|
||||
Schema::create('public_contracts', function(Blueprint $table) {
|
||||
$table->unsignedBigIncrements('id');
|
||||
$table->decimal('buyout', 17,2 )->nullable();
|
||||
$table->decimal('collateral', 17, 2)->nullable();
|
||||
$table->unsignedInteger('contract_id');
|
||||
$table->dateTime('date_expired');
|
||||
$table->dateTime('date_issued');
|
||||
$table->unsignedInteger('days_to_complete')->nullable();
|
||||
$table->unsignedBigInteger('end_location_id')->nullable();
|
||||
$table->boolean('for_corporation')->nullable();
|
||||
$table->unsignedInteger('issuer_corporation_id');
|
||||
$table->unsignedInteger('issuer_id');
|
||||
$table->decimal('price', 17, 2)->nullable();
|
||||
$table->decimal('reward', 17, 2)->nullable();
|
||||
$table->unsignedBigInteger('start_location_id')->nullable();
|
||||
$table->string('title')->nullable();
|
||||
$table->enum('type', [
|
||||
'unknown',
|
||||
'item_exchange',
|
||||
'auction',
|
||||
'courier',
|
||||
'loan',
|
||||
]);
|
||||
$table->decimal('volume', 17,2);
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('public_contract_items')) {
|
||||
Schema::create('public_contract_items', function (Blueprint $table) {
|
||||
$table->unsignedBigIncrements('id');
|
||||
$table->boolean('is_blueprint_copy')->nullable();
|
||||
$table->boolean('is_included');
|
||||
$table->unsignedBigInteger('item_id')->nullable();
|
||||
$table->unsignedInteger('material_efficiency')->nullable();
|
||||
$table->unsignedInteger('quantity');
|
||||
$table->unsignedBigInteger('record_id');
|
||||
$table->unsignedInteger('runs')->nullable();
|
||||
$table->unsignedInteger('time_efficiency')->nullable();
|
||||
$table->unsignedBigInteger('type_id');
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('market_groups')) {
|
||||
Schema::create('market_groups', function (Blueprint $table) {
|
||||
$table->unsignedIncrements('id');
|
||||
$table->unsignedInteger('group');
|
||||
$table->string('description');
|
||||
$table->unsignedInteger('market_group_id');
|
||||
$table->string('name');
|
||||
$table->unsignedInteger('parent_group_id')->nullable();
|
||||
$table->unsignedInteger('types');
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('market_prices')) {
|
||||
Schema::create('market_prices', function (Blueprint $table) {
|
||||
$table->unsignedBigIncrements('id');
|
||||
$table->unsignedInteger('type_id');
|
||||
$table->decimal('adjusted_price')->default(0.00);
|
||||
$table->decimal('average_price')->default(0.00);
|
||||
$table->decimal('lowest_price')->default(0.00);
|
||||
$table->decimal('highest_price')->default(0.00);
|
||||
$table->unsignedBigInteger('order_count');
|
||||
$table->unsignedBigInteger('volume');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('market_region_orders')) {
|
||||
Schema::create('market_region_orders', function (Blueprint $table) {
|
||||
$table->unsignedBigIncrements('id');
|
||||
$table->unsignedInteger('duration');
|
||||
$table->boolean('is_buy_order');
|
||||
$table->dateTime('issued');
|
||||
$table->unsignedInteger('location_id');
|
||||
$table->unsignedInteger('min_volume');
|
||||
$table->unsignedBigInteger('order_id');
|
||||
$table->decimal('price', 17, 2);
|
||||
$table->enum('range', [
|
||||
'station',
|
||||
'region',
|
||||
'solarsystem',
|
||||
'1',
|
||||
'2',
|
||||
'3',
|
||||
'4',
|
||||
'5',
|
||||
'10',
|
||||
'20',
|
||||
'30',
|
||||
'40',
|
||||
]);
|
||||
$table->unsignedInteger('system_id');
|
||||
$table->unsignedInteger('type_id');
|
||||
$table->unsignedInteger('volume_remain');
|
||||
$table->unsignedInteger('volume_total');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('public_contracts');
|
||||
Schema::dropIfExists('public_contract_items');
|
||||
Schema::dropIfExists('market_groups');
|
||||
Schema::dropIfExists('market_prices');
|
||||
Schema::dropIfExists('market_region_orders');
|
||||
}
|
||||
}
|
||||
17
vendor/composer/autoload_classmap.php
vendored
17
vendor/composer/autoload_classmap.php
vendored
@@ -14,11 +14,10 @@ return array(
|
||||
'App\\Console\\Commands\\Finances\\HoldingFinancesCommand' => $baseDir . '/app/Console/Commands/Finances/HoldingFinances.php',
|
||||
'App\\Console\\Commands\\Finances\\SovBillsCommand' => $baseDir . '/app/Console/Commands/Finances/SovBills.php',
|
||||
'App\\Console\\Commands\\Flex\\FlexStructureCommand' => $baseDir . '/app/Console/Commands/Flex/FlexStructureCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\FetchMoonLedgerCommand' => $baseDir . '/app/Console/Commands/Moons/FetchMoonLedgerCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\FetchRentalMoonLedgerCommand' => $baseDir . '/app/Console/Commands/Moons/FetchRentalMoonLedgerCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\MoonMailerCommand' => $baseDir . '/app/Console/Commands/Moons/MoonMailer.php',
|
||||
'App\\Console\\Commands\\Moons\\MoonsUpdateCommand' => $baseDir . '/app/Console/Commands/Moons/MoonsUpdateCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\RentalMoonCommand' => $baseDir . '/app/Console/Commands/Moons/RentalMoonCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\UpdateMoonPriceCommand' => $baseDir . '/app/Console/Commands/Moons/UpdateMoonPricing.php',
|
||||
'App\\Console\\Commands\\ProcessMoonRentalCommand' => $baseDir . '/app/Console/Commands/Moons/ProcessMoonRentalCommand.php',
|
||||
'App\\Console\\Commands\\Structures\\GetStructuresCommand' => $baseDir . '/app/Console/Commands/Structures/GetStructures.php',
|
||||
'App\\Console\\Commands\\Users\\PurgeUsers' => $baseDir . '/app/Console/Commands/Users/PurgeUsers.php',
|
||||
'App\\Console\\Commands\\Wormholes\\PurgeWormholes' => $baseDir . '/app/Console/Commands/Wormholes/PurgeWormholes.php',
|
||||
@@ -28,6 +27,7 @@ return array(
|
||||
'App\\Http\\Controllers\\Auth\\EsiScopeController' => $baseDir . '/app/Http/Controllers/Auth/EsiScopeController.php',
|
||||
'App\\Http\\Controllers\\Auth\\LoginController' => $baseDir . '/app/Http/Controllers/Auth/LoginController.php',
|
||||
'App\\Http\\Controllers\\Blacklist\\BlacklistController' => $baseDir . '/app/Http/Controllers/Blacklist/BlacklistController.php',
|
||||
'App\\Http\\Controllers\\BuyContractController' => $baseDir . '/app/Http/Controllers/Contracts/BuyContractController.php',
|
||||
'App\\Http\\Controllers\\Contracts\\ContractAdminController' => $baseDir . '/app/Http/Controllers/Contracts/ContractAdminController.php',
|
||||
'App\\Http\\Controllers\\Contracts\\ContractController' => $baseDir . '/app/Http/Controllers/Contracts/ContractController.php',
|
||||
'App\\Http\\Controllers\\Controller' => $baseDir . '/app/Http/Controllers/Controller.php',
|
||||
@@ -58,14 +58,12 @@ return array(
|
||||
'App\\Http\\Middleware\\TrimStrings' => $baseDir . '/app/Http/Middleware/TrimStrings.php',
|
||||
'App\\Http\\Middleware\\TrustProxies' => $baseDir . '/app/Http/Middleware/TrustProxies.php',
|
||||
'App\\Http\\Middleware\\VerifyCsrfToken' => $baseDir . '/app/Http/Middleware/VerifyCsrfToken.php',
|
||||
'App\\JobProcessCorpJournal' => $baseDir . '/app/Models/Jobs/JobProcessCorpJournal.php',
|
||||
'App\\Jobs\\Commands\\FetchRentalMoonLedgerJob' => $baseDir . '/app/Jobs/Commands/Not Used/FetchRentalMoonLedgerJob.php',
|
||||
'App\\Jobs\\Commands\\FetchRentalMoonObserversJob' => $baseDir . '/app/Jobs/Commands/Not Used/FetchRentalMoonObserversJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonLedgerJob' => $baseDir . '/app/Jobs/Commands/Moons/FetchMoonLedgerJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonObserversJob' => $baseDir . '/app/Jobs/Commands/Moons/FetchMoonObserversJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonObserverJob' => $baseDir . '/app/Jobs/Commands/Moons/FetchMoonObserverJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalInvoiceCreate' => $baseDir . '/app/Jobs/Commands/Moons/MoonRentalInvoiceCreate.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalInvoiceVerify' => $baseDir . '/app/Jobs/Commands/Moons/MoonRentalInvoiceVerify.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalPaymentJob' => $baseDir . '/app/Jobs/Commands/Moons/MoonRentalPaymentJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\PurgeMoonLedgerJob' => $baseDir . '/app/Jobs/Commands/Moons/PurgeMoonLedgerJob.php',
|
||||
'App\\Jobs\\MoonRentalUpdate' => $baseDir . '/app/Jobs/Commands/Moons/MoonRentalUpdate.php',
|
||||
'App\\Jobs\\ProcessAssetsJob' => $baseDir . '/app/Jobs/ProcessAssetsJob.php',
|
||||
@@ -87,9 +85,9 @@ return array(
|
||||
'App\\Library\\Fleets\\FleetHelper' => $baseDir . '/app/Library/Fleets/FleetHelper.php',
|
||||
'App\\Library\\JumpBridges\\JumpBridgeHelper' => $baseDir . '/app/Library/JumpBridges/JumpBridgeHelper.php',
|
||||
'App\\Library\\Lookups\\LookupHelper' => $baseDir . '/app/Library/Lookups/LookupHelper.php',
|
||||
'App\\Library\\Mail\\Helper\\EveMailHelper' => $baseDir . '/app/Library/Mail/Helper/EveMailHelper.php',
|
||||
'App\\Library\\Moons\\MiningLedgerHelper' => $baseDir . '/app/Library/Moons/MiningLedgerHelper.php',
|
||||
'App\\Library\\Moons\\MoonCalc' => $baseDir . '/app/Library/Moons/MoonCalc.php',
|
||||
'App\\Library\\RegionalContracts\\RegionalContractHelper' => $baseDir . '/app/Library/RegionalContracts/ContractHelper.php',
|
||||
'App\\Library\\SRP\\SRPHelper' => $baseDir . '/app/Library/SRP/SRPHelper.php',
|
||||
'App\\Library\\Structures\\StructureHelper' => $baseDir . '/app/Library/Structures/StructureHelper.php',
|
||||
'App\\Library\\Taxes\\TaxesHelper' => $baseDir . '/app/Library/Taxes/TaxesHelper.php',
|
||||
@@ -118,10 +116,6 @@ return array(
|
||||
'App\\Models\\Fleets\\AllianceFleet' => $baseDir . '/app/Models/Fleets/AllianceFleet.php',
|
||||
'App\\Models\\Fleets\\AllianceFleetMember' => $baseDir . '/app/Models/Fleets/AllianceFleetMember.php',
|
||||
'App\\Models\\Flex\\FlexStructure' => $baseDir . '/app/Models/Flex/FlexStructure.php',
|
||||
'App\\Models\\Jobs\\JobProcessAsset' => $baseDir . '/app/Models/Jobs/JobProcessAsset.php',
|
||||
'App\\Models\\Jobs\\JobProcessStructure' => $baseDir . '/app/Models/Jobs/JobProcessStructure.php',
|
||||
'App\\Models\\Jobs\\JobProcessWalletJournal' => $baseDir . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
||||
'App\\Models\\Jobs\\JobSendEveMail' => $baseDir . '/app/Models/Jobs/JobSendEveMail.php',
|
||||
'App\\Models\\Jobs\\JobStatus' => $baseDir . '/app/Models/Jobs/JobStatus.php',
|
||||
'App\\Models\\Logistics\\AnchorStructure' => $baseDir . '/app/Models/Logistics/AnchorStructure.php',
|
||||
'App\\Models\\Lookups\\AllianceLookup' => $baseDir . '/app/Models/Lookups/AllianceLookup.php',
|
||||
@@ -169,6 +163,7 @@ return array(
|
||||
'App\\Providers\\EventServiceProvider' => $baseDir . '/app/Providers/EventServiceProvider.php',
|
||||
'App\\Providers\\HorizonServiceProvider' => $baseDir . '/app/Providers/HorizonServiceProvider.php',
|
||||
'App\\Providers\\RouteServiceProvider' => $baseDir . '/app/Providers/RouteServiceProvider.php',
|
||||
'App\\RentalMoonInvoice' => $baseDir . '/app/Models/Moon/RentalMoonInvoice.php',
|
||||
'App\\Traits\\EveOAuth' => $baseDir . '/app/Traits/EveOAuth.php',
|
||||
'AvailableUserPermissions' => $baseDir . '/database/seeds/AvailableUserPermissions.php',
|
||||
'Balping\\JsonRaw\\Encoder' => $vendorDir . '/balping/json-raw-encoder/src/Encoder.php',
|
||||
|
||||
17
vendor/composer/autoload_static.php
vendored
17
vendor/composer/autoload_static.php
vendored
@@ -483,11 +483,10 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Console\\Commands\\Finances\\HoldingFinancesCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/HoldingFinances.php',
|
||||
'App\\Console\\Commands\\Finances\\SovBillsCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Finances/SovBills.php',
|
||||
'App\\Console\\Commands\\Flex\\FlexStructureCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Flex/FlexStructureCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\FetchMoonLedgerCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/FetchMoonLedgerCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\FetchRentalMoonLedgerCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/FetchRentalMoonLedgerCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\MoonMailerCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/MoonMailer.php',
|
||||
'App\\Console\\Commands\\Moons\\MoonsUpdateCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/MoonsUpdateCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\RentalMoonCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/RentalMoonCommand.php',
|
||||
'App\\Console\\Commands\\Moons\\UpdateMoonPriceCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/UpdateMoonPricing.php',
|
||||
'App\\Console\\Commands\\ProcessMoonRentalCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Moons/ProcessMoonRentalCommand.php',
|
||||
'App\\Console\\Commands\\Structures\\GetStructuresCommand' => __DIR__ . '/../..' . '/app/Console/Commands/Structures/GetStructures.php',
|
||||
'App\\Console\\Commands\\Users\\PurgeUsers' => __DIR__ . '/../..' . '/app/Console/Commands/Users/PurgeUsers.php',
|
||||
'App\\Console\\Commands\\Wormholes\\PurgeWormholes' => __DIR__ . '/../..' . '/app/Console/Commands/Wormholes/PurgeWormholes.php',
|
||||
@@ -497,6 +496,7 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Http\\Controllers\\Auth\\EsiScopeController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/EsiScopeController.php',
|
||||
'App\\Http\\Controllers\\Auth\\LoginController' => __DIR__ . '/../..' . '/app/Http/Controllers/Auth/LoginController.php',
|
||||
'App\\Http\\Controllers\\Blacklist\\BlacklistController' => __DIR__ . '/../..' . '/app/Http/Controllers/Blacklist/BlacklistController.php',
|
||||
'App\\Http\\Controllers\\BuyContractController' => __DIR__ . '/../..' . '/app/Http/Controllers/Contracts/BuyContractController.php',
|
||||
'App\\Http\\Controllers\\Contracts\\ContractAdminController' => __DIR__ . '/../..' . '/app/Http/Controllers/Contracts/ContractAdminController.php',
|
||||
'App\\Http\\Controllers\\Contracts\\ContractController' => __DIR__ . '/../..' . '/app/Http/Controllers/Contracts/ContractController.php',
|
||||
'App\\Http\\Controllers\\Controller' => __DIR__ . '/../..' . '/app/Http/Controllers/Controller.php',
|
||||
@@ -527,14 +527,12 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Http\\Middleware\\TrimStrings' => __DIR__ . '/../..' . '/app/Http/Middleware/TrimStrings.php',
|
||||
'App\\Http\\Middleware\\TrustProxies' => __DIR__ . '/../..' . '/app/Http/Middleware/TrustProxies.php',
|
||||
'App\\Http\\Middleware\\VerifyCsrfToken' => __DIR__ . '/../..' . '/app/Http/Middleware/VerifyCsrfToken.php',
|
||||
'App\\JobProcessCorpJournal' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessCorpJournal.php',
|
||||
'App\\Jobs\\Commands\\FetchRentalMoonLedgerJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Not Used/FetchRentalMoonLedgerJob.php',
|
||||
'App\\Jobs\\Commands\\FetchRentalMoonObserversJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Not Used/FetchRentalMoonObserversJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonLedgerJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/FetchMoonLedgerJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonObserversJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/FetchMoonObserversJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\FetchMoonObserverJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/FetchMoonObserverJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalInvoiceCreate' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/MoonRentalInvoiceCreate.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalInvoiceVerify' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/MoonRentalInvoiceVerify.php',
|
||||
'App\\Jobs\\Commands\\Moons\\MoonRentalPaymentJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/MoonRentalPaymentJob.php',
|
||||
'App\\Jobs\\Commands\\Moons\\PurgeMoonLedgerJob' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/PurgeMoonLedgerJob.php',
|
||||
'App\\Jobs\\MoonRentalUpdate' => __DIR__ . '/../..' . '/app/Jobs/Commands/Moons/MoonRentalUpdate.php',
|
||||
'App\\Jobs\\ProcessAssetsJob' => __DIR__ . '/../..' . '/app/Jobs/ProcessAssetsJob.php',
|
||||
@@ -556,9 +554,9 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Library\\Fleets\\FleetHelper' => __DIR__ . '/../..' . '/app/Library/Fleets/FleetHelper.php',
|
||||
'App\\Library\\JumpBridges\\JumpBridgeHelper' => __DIR__ . '/../..' . '/app/Library/JumpBridges/JumpBridgeHelper.php',
|
||||
'App\\Library\\Lookups\\LookupHelper' => __DIR__ . '/../..' . '/app/Library/Lookups/LookupHelper.php',
|
||||
'App\\Library\\Mail\\Helper\\EveMailHelper' => __DIR__ . '/../..' . '/app/Library/Mail/Helper/EveMailHelper.php',
|
||||
'App\\Library\\Moons\\MiningLedgerHelper' => __DIR__ . '/../..' . '/app/Library/Moons/MiningLedgerHelper.php',
|
||||
'App\\Library\\Moons\\MoonCalc' => __DIR__ . '/../..' . '/app/Library/Moons/MoonCalc.php',
|
||||
'App\\Library\\RegionalContracts\\RegionalContractHelper' => __DIR__ . '/../..' . '/app/Library/RegionalContracts/ContractHelper.php',
|
||||
'App\\Library\\SRP\\SRPHelper' => __DIR__ . '/../..' . '/app/Library/SRP/SRPHelper.php',
|
||||
'App\\Library\\Structures\\StructureHelper' => __DIR__ . '/../..' . '/app/Library/Structures/StructureHelper.php',
|
||||
'App\\Library\\Taxes\\TaxesHelper' => __DIR__ . '/../..' . '/app/Library/Taxes/TaxesHelper.php',
|
||||
@@ -587,10 +585,6 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Models\\Fleets\\AllianceFleet' => __DIR__ . '/../..' . '/app/Models/Fleets/AllianceFleet.php',
|
||||
'App\\Models\\Fleets\\AllianceFleetMember' => __DIR__ . '/../..' . '/app/Models/Fleets/AllianceFleetMember.php',
|
||||
'App\\Models\\Flex\\FlexStructure' => __DIR__ . '/../..' . '/app/Models/Flex/FlexStructure.php',
|
||||
'App\\Models\\Jobs\\JobProcessAsset' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessAsset.php',
|
||||
'App\\Models\\Jobs\\JobProcessStructure' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessStructure.php',
|
||||
'App\\Models\\Jobs\\JobProcessWalletJournal' => __DIR__ . '/../..' . '/app/Models/Jobs/JobProcessWalletJournal.php',
|
||||
'App\\Models\\Jobs\\JobSendEveMail' => __DIR__ . '/../..' . '/app/Models/Jobs/JobSendEveMail.php',
|
||||
'App\\Models\\Jobs\\JobStatus' => __DIR__ . '/../..' . '/app/Models/Jobs/JobStatus.php',
|
||||
'App\\Models\\Logistics\\AnchorStructure' => __DIR__ . '/../..' . '/app/Models/Logistics/AnchorStructure.php',
|
||||
'App\\Models\\Lookups\\AllianceLookup' => __DIR__ . '/../..' . '/app/Models/Lookups/AllianceLookup.php',
|
||||
@@ -638,6 +632,7 @@ class ComposerStaticInitc3f953f8a7291d41a76e1664339777c9
|
||||
'App\\Providers\\EventServiceProvider' => __DIR__ . '/../..' . '/app/Providers/EventServiceProvider.php',
|
||||
'App\\Providers\\HorizonServiceProvider' => __DIR__ . '/../..' . '/app/Providers/HorizonServiceProvider.php',
|
||||
'App\\Providers\\RouteServiceProvider' => __DIR__ . '/../..' . '/app/Providers/RouteServiceProvider.php',
|
||||
'App\\RentalMoonInvoice' => __DIR__ . '/../..' . '/app/Models/Moon/RentalMoonInvoice.php',
|
||||
'App\\Traits\\EveOAuth' => __DIR__ . '/../..' . '/app/Traits/EveOAuth.php',
|
||||
'AvailableUserPermissions' => __DIR__ . '/../..' . '/database/seeds/AvailableUserPermissions.php',
|
||||
'Balping\\JsonRaw\\Encoder' => __DIR__ . '/..' . '/balping/json-raw-encoder/src/Encoder.php',
|
||||
|
||||
Reference in New Issue
Block a user