modifeid jobs to use the new commands helper class

added migration for fleet activity tracking
This commit is contained in:
2018-12-03 13:10:11 -06:00
parent 8bbd83da90
commit 69a2441736
4 changed files with 55 additions and 3 deletions
@@ -0,0 +1,43 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateFleetsActivityTrackingTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if(!Schema::hasTable('fleets_activity_tracking')) {
Schema::create('fleets_activity_tracking', function (Blueprint $table) {
$table->increments('id');
$table->string('fleetId');
$table->string('character_id');
$table->string('character_name')->nullable();
$table->string('corporation_id');
$table->string('corporation_name')->nullable();
$table->string('region');
$table->string('system');
$table->string('ship');
$table->string('ship_type')->nullable();
$table->timestamps();
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('fleets_activity_tracking');
}
}