Skip to content

Commit 0ebd4d7

Browse files
committed
Use unskipped table method and add ignoreDatabaseTables config overwrite possibility.
1 parent f77806b commit 0ebd4d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Generator/Task/DatabaseTableTask.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ protected function collectTables(): array {
6868
} else {
6969
$db = $this->getConnection();
7070
try {
71+
/** @var array<string>|null $ignore */
7172
$ignore = Configure::read('IdeHelper.ignoreDatabaseTables');
7273
$tables = (new TableScanner($db, $ignore))->listUnskipped();
7374
} catch (Throwable $exception) {

0 commit comments

Comments
 (0)