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 146a91a commit 54a0f68Copy full SHA for 54a0f68
src/Classes/BaseHelper.php
@@ -34,6 +34,10 @@ abstract class BaseHelper
34
* @var int
35
*/
36
private $allowedWhereInQueryNumber = 0;
37
+ /**
38
+ * @var array
39
+ */
40
+ private $ignoredTables = ['migrations' , 'password_resets' , 'failed_jobs'];
41
42
/**
43
* @return int
@@ -172,8 +176,10 @@ public function setAllTablesFromDatabase()
172
176
$this->loopThrough(
173
177
$this->getAllTablesFromDatabase()->getSavedItems(),
174
178
function ($key, $item) use ($columnName) {
175
- $this->setTables($item->$columnName);
- });
179
+ if (!in_array($item->$columnName, $this->ignoredTables)) {
180
+ $this->setTables($item->$columnName);
181
+ }
182
+ });
183
184
return $this;
185
}
0 commit comments