Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Aug 31, 2017
1 parent 2e34a55 commit 2660ffc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/Http/Controllers/Install/DatabaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Orchid\CMS\Http\Controllers\Install;

use Illuminate\Support\Facades\Artisan;
use Orchid\Platform\Http\Controllers\Controller;
use Orchid\CMS\Http\Controllers\Install\Helpers\DatabaseManager;

Expand All @@ -27,6 +28,9 @@ public function __construct(DatabaseManager $databaseManager)
*/
public function database()
{

Artisan::call('notifications:table');

$response = $this->databaseManager->migrateAndSeed();

return redirect()->route('install::administrator')
Expand Down
5 changes: 3 additions & 2 deletions src/Http/Controllers/Install/WelcomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public function welcome()
Artisan::call('view:clear');
Artisan::call('route:clear');
Artisan::call('storage:link');
Artisan::call('notifications:table');
Artisan::call('make:auth');
Artisan::call('make:auth',[
'--force' => true,
]);
} catch (\Exception $exception) {
$exception = $exception->getMessage();
}
Expand Down

0 comments on commit 2660ffc

Please sign in to comment.