Added missing column

This commit is contained in:
Alex Bilbie 2014-07-27 17:11:27 +01:00
parent 47a5c1ba08
commit 6cb5863b81

View File

@ -181,6 +181,7 @@ Capsule::schema()->create('oauth_auth_codes', function ($table) {
$table->string('auth_code')->primary();
$table->integer('session_id');
$table->integer('expire_time');
$table->string('client_redirect_uri');
$table->foreign('session_id')->references('id')->on('oauth_sessions')->onDelete('cascade');
});