Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
butschster committed Sep 17, 2023
1 parent e885d6c commit eb294d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/CallAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CallAction extends Controller
WithFaker;

private array $setUpMap = [
// 'ray_logs:' => 'setUpRayLogger',
'ray_logs:' => 'setUpRayLogger',
'profiler:' => 'setupProfiler',
'sentry:' => 'setupSentryLogger',
'monolog:' => 'setUpSocketMonolog',
Expand Down
3 changes: 3 additions & 0 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);

if (!defined('STDIN')) {
define('STDIN', fopen("php://stdin", "r"));
}
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
Expand Down
2 changes: 1 addition & 1 deletion config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'sqlite' => [
'driver' => 'sqlite',
'url' => env('DATABASE_URL'),
'database' => env('DB_DATABASE', database_path('database.sqlite')),
'database' => env('DB_DATABASE', database_path('db.sqlite')),
'prefix' => '',
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
],
Expand Down
4 changes: 2 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@

Route::middleware(\Inspector\Laravel\Middleware\WebRequestMonitoring::class)
->get('/inspector', function () {
\Illuminate\Support\Facades\Artisan::call('migrate:fresh');
\Illuminate\Support\Facades\Artisan::call('db:seed');
\Illuminate\Support\Facades\Artisan::call('migrate:fresh', ['--force' => true]);
\Illuminate\Support\Facades\Artisan::call('db:seed', ['--force' => true]);

$users = \App\Models\User::all();

Expand Down

0 comments on commit eb294d2

Please sign in to comment.