diff --git a/examples/relational/config/init.php b/examples/relational/config/init.php index b5f02c89..1f6a5b8f 100644 --- a/examples/relational/config/init.php +++ b/examples/relational/config/init.php @@ -165,11 +165,9 @@ print 'Creating refresh tokens table'.PHP_EOL; Capsule::schema()->create('oauth_refresh_tokens', function ($table) { $table->string('refresh_token')->primary(); - $table->integer('session_id'); $table->integer('expire_time'); $table->string('access_token'); - $table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade'); $table->foreign('access_token')->references('id')->on('oauth_access_tokens')->onDelete('cascade'); });