Display column collation in tooltip (thanks to bene)

This commit is contained in:
Jakub Vrana 2011-06-01 17:05:09 +02:00
parent ea4eba4761
commit d09f05b01b
2 changed files with 2 additions and 1 deletions

View file

@ -18,7 +18,7 @@ if ($fields) {
echo "<thead><tr><th>" . lang('Column') . "<td>" . lang('Type') . (support("comment") ? "<td>" . lang('Comment') : "") . "</thead>\n";
foreach ($fields as $field) {
echo "<tr" . odd() . "><th title='" . h($field["default"] !== "" ? $field["default"] : " ") . "'>" . h($field["field"]);
echo "<td>" . h($field["full_type"]) . ($field["null"] ? " <i>NULL</i>" : "") . ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
echo "<td title='" . h($field["collation"]) . "'>" . h($field["full_type"]) . ($field["null"] ? " <i>NULL</i>" : "") . ($field["auto_increment"] ? " <i>" . lang('Auto Increment') . "</i>" : "");
echo (support("comment") ? "<td>" . nbsp($field["comment"]) : "");
echo "\n";
}

View file

@ -5,6 +5,7 @@ Append new index with auto index selection (bug #3282127)
Bit type default value
Display foreign key name in tooltip
Display default column value in tooltip
Display column collation in tooltip
Pagination support (Oracle)
Autocomplete for big foreign keys (Editor)
Display name of the referenced record in PostgreSQL (Editor)