Skip to content

Commit 95e1391

Browse files
authored
specifying base path to allow running from controllers
1 parent e15186c commit 95e1391

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Commands/UpdateSqlViews.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function __construct()
4444
*/
4545
public function handle()
4646
{
47-
$countViews = $this->processDir('database/views');
48-
47+
$countViews = $this->processDir(base_path('database/views'));
4948
$this->info($countViews.' views created');
5049
}
5150

0 commit comments

Comments
 (0)