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 c08041a commit 34e9386Copy full SHA for 34e9386
src/Illuminate/Database/Schema/PostgresBuilder.php
@@ -96,8 +96,8 @@ protected function getSchema($table)
96
$schema = $this->connection->getConfig('schema');
97
98
if (is_array($schema)) {
99
- if (in_array($table[0], $schema)) {
100
- return [ $table[0], $table[1] ];
+ if (in_array($table[0], $schema)) { // Table contains schema prefix
+ return [ array_shift($table), implode('.', $table) ];
101
}
102
103
$schema = head($schema);
0 commit comments