relationships again

This commit is contained in:
2018-11-05 10:39:01 -06:00
parent 01a0471114
commit c91c9cd378
11 changed files with 63 additions and 7 deletions
@@ -19,7 +19,6 @@ class CreateEsiTokens extends Migration
$table->string('access_token');
$table->string('refresh_token');
$table->integer('expires_in');
$table->string('scopes');
$table->timestamps();
});
}
@@ -0,0 +1,33 @@
<?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()
{
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');
}
}