diff --git a/adminer/table.inc.php b/adminer/table.inc.php index 021e3472..aa36e730 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -17,8 +17,9 @@ if ($fields) { echo "\n"; echo "\n"; foreach ($fields as $field) { - echo " in select ? Column and table names auto-completition in SQL textarea - http://blog.quplo.com/2010/06/css-code-completion-in-your-browser/ ? Aliasing of built-in functions can save 7 KB, function minification can save 7 KB, substitution of repetitive $a["a"] can save 4 KB, substitution of $_GET and friends can save 2 KB, aliasing of $connection->query can save 24 B, JS Closure compiler can save 2 KB, not enclosing HTML attribute values can save 1.2 KB, replacing \\n by \n can save .3 KB
" . lang('Column') . "" . lang('Type') . (support("comment") ? "" . lang('Comment') : "") . "
" . h($field["field"]); + echo "" . h($field["field"]); echo "" . h($field["full_type"]) . ($field["null"] ? " NULL" : "") . ($field["auto_increment"] ? " " . lang('Auto Increment') . "" : ""); + echo (isset($field["default"]) ? " [" . h($field["default"]) . "]" : ""); echo (support("comment") ? "" . nbsp($field["comment"]) : ""); echo "\n"; } diff --git a/changes.txt b/changes.txt index 79e9fde8..787d7f82 100644 --- a/changes.txt +++ b/changes.txt @@ -4,7 +4,7 @@ Shortcut for database privileges 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 default column value in table overview Display column collation in tooltip Pagination support (Oracle) Autocomplete for big foreign keys (Editor) diff --git a/todo.txt b/todo.txt index cd13bf5d..bd12e27b 100644 --- a/todo.txt +++ b/todo.txt @@ -11,6 +11,7 @@ Double click in select - Esc to abort editation Draggable columns in alter table (thanks to Michal Manak)