fix bug in columnList(), add test

This commit is contained in:
Sergey Tsalkov
2021-08-08 14:15:19 +00:00
parent e30c240d54
commit 57b7527a46
2 changed files with 5 additions and 2 deletions

View File

@@ -486,7 +486,7 @@ class MeekroDB {
$columns[$row['Field']] = array(
'type' => $row['Type'],
'null' => $row['Null'],
'key' => $row['Type'],
'key' => $row['Key'],
'default' => $row['Default'],
'extra' => $row['Extra']
);