created function for registering structures which should only be accessible by those with the correct scope.

This commit is contained in:
2020-05-09 10:37:03 -05:00
parent f501514aa2
commit 96a2fb1c3e
5 changed files with 71 additions and 42 deletions

View File

@@ -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();
});
}
}
/**