Skip to content

Commit 759637e

Browse files
committed
修复安装命令避免生成视图导致数据迁移缺省问题
1 parent 270036d commit 759637e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Console/InstallCommand.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,10 @@ public function handle()
3636
'--provider' => 'Moell\LayuiAdmin\Providers\LayuiAdminServiceProvider',
3737
'--tag' => 'public'
3838
]);
39+
40+
$this->call('vendor:publish', [
41+
'--provider' => 'Moell\LayuiAdmin\Providers\LayuiAdminServiceProvider',
42+
'--tag' => 'migrations'
43+
]);
3944
}
4045
}

0 commit comments

Comments
 (0)