We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 174968c commit dcbcb1eCopy full SHA for dcbcb1e
src/SchemaUtils.php
@@ -27,9 +27,9 @@ public static function fetchTableListFromDB(\PDO $pdo): array {
27
// we are doing this here
28
return static::dbFetchCol(
29
$pdo,
30
- "SELECT name FROM sqlite_master
+ "SELECT name FROM sqlite_master where sqlite_master.type IN ('table', 'view')
31
UNION ALL
32
- SELECT name FROM sqlite_temp_master
+ SELECT name FROM sqlite_temp_master where sqlite_temp_master.type IN ('table', 'view')
33
ORDER BY name"
34
);
35
}
0 commit comments