8000 Migrate the dev DB when created (#406) · SRWieZ/fork-nativephp-laravel@f86de67 · GitHub
[go: up one dir, main page]

Skip to content

Commit f86de67

Browse files
authored
Migrate the dev DB when created (NativePHP#406)
1 parent fd5860a commit f86de67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/NativeServiceProvider.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ public function rewriteDatabase()
111111

112112
if (! file_exists($databasePath)) {
113113
touch($databasePath);
114+
115+
Artisan::call('native:migrate');
114116
}
115117
}
116118

0 commit comments

Comments
 (0)
0