1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-21 13:51:33 +02:00

Fix style

This commit is contained in:
Jakub Vrana
2020-12-06 12:37:00 +01:00
parent 4e2a448e28
commit d94adc09cc

View File

@@ -306,7 +306,7 @@ if (isset($_GET["clickhouse"])) {
function fields($table) {
$return = array();
$result = get_rows("SELECT name, type, default_expression FROM system.columns WHERE " . idf_escape('table') . " = " . q($table));
foreach($result as $row) {
foreach ($result as $row) {
$type = trim($row['type']);
$nullable = strpos($type, 'Nullable(') === 0;
$return[trim($row['name'])] = array(