diff --git a/framework/yii/db/pgsql/Schema.php b/framework/yii/db/pgsql/Schema.php index 302843b..aa3cdc9 100644 --- a/framework/yii/db/pgsql/Schema.php +++ b/framework/yii/db/pgsql/Schema.php @@ -242,18 +242,17 @@ SQL; $schemaName = $this->db->quoteValue($table->schemaName); $sql = << 0 + a.attnum > 0 and t.typename != '' and c.relname = {$tableName} and d.nspname = {$schemaName} ORDER BY