mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +02:00
Hide hidden columns in PostgreSQL (thanks to Pavel Stehule)
This commit is contained in:
@@ -263,7 +263,7 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
||||
return !$connection->result("SELECT sqlite_compileoption_used('OMIT_FOREIGN_KEY')");
|
||||
}
|
||||
|
||||
function fields($table, $hidden = false) {
|
||||
function fields($table) {
|
||||
$return = array();
|
||||
foreach (get_rows("PRAGMA table_info(" . table($table) . ")") as $row) {
|
||||
$type = strtolower($row["type"]);
|
||||
|
Reference in New Issue
Block a user