This commit is contained in:
2018-11-05 20:01:00 -06:00
parent 4bc402f847
commit 8de5bfdfad
3 changed files with 3 additions and 40 deletions
@@ -1,35 +0,0 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUserEsiScopes extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if(!Schema::hasTable('UserEsiScopes')) {
Schema::create('UserEsiScopes', function(Blueprint $table) {
$table->integer('id')->increments();
$table->integer('character_id');
$table->string('scope');
$table->timestamps();
});
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('UserEsiScopes');
}
}
@@ -15,14 +15,12 @@ class CreateEsiScopes extends Migration
{
if(!Schema::hasTable('EsiScopes')) {
Schema::create('EsiScopes', function(Blueprint $table) {
$table->integer('id')->increments();
$table->increments('id');
$table->integer('character_id');
$table->string('scope');
$table->timestamps();
});
}
Schema::dropIfExists('UserEsiScopes');
}
/**