We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c5365f commit fd49effCopy full SHA for fd49eff
src/ServiceProvider.php
@@ -58,7 +58,7 @@ public function bootEvents()
58
59
public function bootCollections()
60
{
61
- if(Collection::find('structured_data_templates')) {
+ if($this->app->runningInConsole() || Collection::find('structured_data_templates')) {
62
return $this;
63
}
64
@@ -80,7 +80,7 @@ public function bootCollections()
80
81
public function bootTaxonomies()
82
83
- if(Taxonomy::find('structured_data_objects')) {
+ if($this->app->runningInConsole() || Taxonomy::find('structured_data_objects')) {
84
85
86
0 commit comments