diff --git a/examples/relational/config/init.php b/examples/relational/config/init.php index eb404a88..85ba40f0 100644 --- a/examples/relational/config/init.php +++ b/examples/relational/config/init.php @@ -241,7 +241,7 @@ print 'Creating oauth session scopes table'.PHP_EOL; Capsule::schema()->create('oauth_session_scopes', function ($table) { $table->increments('id')->unsigned(); - $table->string('session_id')->unsigned(); + $table->integer('session_id')->unsigned(); $table->string('scope'); $table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade');