finances and fleets
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateStructures extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('Structures', function(Blueprint $table) {
|
||||
$table->integer('corporation_id');
|
||||
$table->date('fuel_expires');
|
||||
$table->date('next_reinforce_apply');
|
||||
$table->integer('next_reinforce_hour');
|
||||
$table->integer('next_reinforce_weekday');
|
||||
$table->integer('profile_id');
|
||||
$table->integer('reinforce_hour');
|
||||
$table->integer('reinforce_weekday');
|
||||
$table->data('services');
|
||||
$table->string('state');
|
||||
$table->date('state_timer_end');
|
||||
$table->date('state_timer_start');
|
||||
$table->integer('structure_id')->unique();
|
||||
$table->integer('system_id');
|
||||
$table->integer('type_id');
|
||||
$table->date('unanchors_at');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::dropIfExists('Structures');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user