8000 refactor: this should not be necessary anymore · NativePHP/laravel@f7b8f52 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7b8f52

Browse files
committed
refactor: this should not be necessary anymore
1 parent 3228b98 commit f7b8f52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NativeServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public function rewriteDatabase()
149149
{
150150
$databasePath = config('nativephp-internal.database_path');
151151

152-
// Automatically create the database in development mode but not if we are running in a Phar
153-
if (config('app.debug') && ! Phar::running()) {
152+
// Automatically create the database in development mode
153+
if (config('app.debug')) {
154154
$databasePath = database_path('nativephp.sqlite');
155155

156156
if (! file_exists($databasePath)) {

0 commit comments

Comments
 (0)
0