created function for registering structures which should only be accessible by those with the correct scope.
This commit is contained in:
@@ -53,6 +53,9 @@ class CreateRentalMoonLedgerTables extends Migration
|
||||
$table->unsignedBigInteger('observer_id');
|
||||
$table->string('observer_name');
|
||||
$table->string('observer_type');
|
||||
$table->unsignedBigInteger('observer_owner_id');
|
||||
$table->unsignedBigInteger('solar_system_id');
|
||||
$table->unsignedBigInteger('observer_type_id');
|
||||
$table->dateTime('last_updated');
|
||||
$table->timestamps();
|
||||
});
|
||||
@@ -76,17 +79,6 @@ class CreateRentalMoonLedgerTables extends Migration
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
if(!Schema::hasTable('corp_mining_observers_registered')) {
|
||||
Schema::create('corp_mining_observers_registered', function(Blueprint $table) {
|
||||
$table->unsignedBigIncrements('id');
|
||||
$table->unsignedBigInteger('character_id');
|
||||
$table->string('character_name');
|
||||
$table->unsignedBigInteger('corporation_id');
|
||||
$table->string('corporation_name');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user