user esi scopes table modification

This commit is contained in:
2018-11-05 10:53:54 -06:00
parent e471fa5053
commit 92a990c477
@@ -15,7 +15,8 @@ class CreateUserEsiScopes extends Migration
{
Schema::create('UserEsiScopes', function(Blueprint $table) {
$table->integer('id')->increments();
$table->foreign('character_id')->integer('character_id');
$table->integer('character_id');
$table->foreign('character_id')->references('character_id')->on('users');
$table->string('scope');
$table->timestamps();
});