Skip to content

Commit eb294d2

Browse files
committed
Small fixes
1 parent e885d6c commit eb294d2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

app/Http/Controllers/CallAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CallAction extends Controller
2828
WithFaker;
2929

3030
private array $setUpMap = [
31-
// 'ray_logs:' => 'setUpRayLogger',
31+
'ray_logs:' => 'setUpRayLogger',
3232
'profiler:' => 'setupProfiler',
3333
'sentry:' => 'setupSentryLogger',
3434
'monolog:' => 'setUpSocketMonolog',

bootstrap/app.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
1616
);
1717

18+
if (!defined('STDIN')) {
19+
define('STDIN', fopen("php://stdin", "r"));
20+
}
1821
/*
1922
|--------------------------------------------------------------------------
2023
| Bind Important Interfaces

config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
'sqlite' => [
3939
'driver' => 'sqlite',
4040
'url' => env('DATABASE_URL'),
41-
'database' => env('DB_DATABASE', database_path('database.sqlite')),
41+
'database' => env('DB_DATABASE', database_path('db.sqlite')),
4242
'prefix' => '',
4343
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
4444
],

routes/web.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107

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

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

0 commit comments

Comments
 (0)