From cd60c2961f81249d0da5a27c27e9340ff8afbf08 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Mon, 4 Aug 2014 18:53:44 +0100 Subject: [PATCH] Removed session ID --- examples/relational/config/init.php | 2 -- 1 file changed, 2 deletions(-) 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'); });