mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
migrations check if table exists
This commit is contained in:
@@ -62,7 +62,7 @@ if ($currentStep == 3) {
|
||||
try {
|
||||
// $install->createTable($shouldCreateTable);
|
||||
if (!WITH_LARAVEL) {
|
||||
throw new \RuntimeException('Larvel is not avaliable.');
|
||||
throw new \RuntimeException('Laravel is not avaliable.');
|
||||
}
|
||||
$command = "php " . ROOT_PATH . "artisan install:migrate";
|
||||
$result = exec($command, $output, $result_code);
|
||||
|
||||
Reference in New Issue
Block a user