We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3228b98 commit f7b8f52Copy full SHA for f7b8f52
src/NativeServiceProvider.php
@@ -149,8 +149,8 @@ public function rewriteDatabase()
149
{
150
$databasePath = config('nativephp-internal.database_path');
151
152
- // Automatically create the database in development mode but not if we are running in a Phar
153
- if (config('app.debug') && ! Phar::running()) {
+ // Automatically create the database in development mode
+ if (config('app.debug')) {
154
$databasePath = database_path('nativephp.sqlite');
155
156
if (! file_exists($databasePath)) {
0 commit comments