relationships again
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user