diff --git a/database/migrations/2018_11_05_160450_create_user_esi_scopes.php b/database/migrations/2018_11_05_160450_create_user_esi_scopes.php deleted file mode 100644 index 147805526..000000000 --- a/database/migrations/2018_11_05_160450_create_user_esi_scopes.php +++ /dev/null @@ -1,35 +0,0 @@ -integer('id')->increments(); - $table->integer('character_id'); - $table->string('scope'); - $table->timestamps(); - }); - } - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('UserEsiScopes'); - } -} diff --git a/database/migrations/2018_11_06_013105_create_esi_scopes.php b/database/migrations/2018_11_06_013105_create_esi_scopes.php index 6095f385d..9204aa527 100644 --- a/database/migrations/2018_11_06_013105_create_esi_scopes.php +++ b/database/migrations/2018_11_06_013105_create_esi_scopes.php @@ -15,14 +15,12 @@ class CreateEsiScopes extends Migration { if(!Schema::hasTable('EsiScopes')) { Schema::create('EsiScopes', function(Blueprint $table) { - $table->integer('id')->increments(); + $table->increments('id'); $table->integer('character_id'); $table->string('scope'); $table->timestamps(); }); } - - Schema::dropIfExists('UserEsiScopes'); } /** diff --git a/routes/web.php b/routes/web.php index f473f959e..7458808d7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -17,8 +17,8 @@ Route::get('/', function () { //Login display pages Route::get('/login', 'Auth\LoginController@redirectToProvider')->name('login'); -Route::get('/callback', 'Auth\LoginController@handleProviderCallback'); -Route::get('/logout', 'Auth\LoginController@logout'); +Route::get('/callback', 'Auth\LoginController@handleProviderCallback')->name('callback'); +Route::get('/logout', 'Auth\LoginController@logout')->name('logout'); //Dashboard Controller Display pages Route::get('/dashboard', 'DashboardController@index');