8000 Adds the call to migrate the database after it is rewritten · bbredewold/nativephp-laravel@24a8dbb · GitHub
[go: up one dir, main page]

Skip to content

Commit 24a8dbb

Browse files
committed
Adds the call to migrate the database after it is rewritten
1 parent f222947 commit 24a8dbb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Commands/FreshCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ public function handle()
1616
unlink(config('nativephp-internal.database_path'));
1717

1818
(new NativeServiceProvider($this->laravel))->rewriteDatabase();
19+
20+
$this->call('native:migrate');
1921
}
2022

2123
}

0 commit comments

Comments
 (0)
0