1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 01:24:17 +02:00

Fix alter table

This commit is contained in:
Jakub Vrana
2010-05-05 22:42:25 +02:00
parent 44d572e32f
commit 736d6e43f4
2 changed files with 8 additions and 8 deletions

View File

@@ -153,7 +153,7 @@ function process_field($field, $type_field) {
(isset($field["default"]) ? " DEFAULT " . ($field["type"] == "timestamp" && eregi("^CURRENT_TIMESTAMP$", $field["default"]) ? $field["default"] : $connection->quote($field["default"])) : ""),
($field["on_update"] ? " ON UPDATE $field[on_update]" : ""),
(support("comment") && $field["comment"] != "" ? " COMMENT " . $connection->quote($field["comment"]) : ""),
($field["auto_increment"] ? auto_increment() : ""),
($field["auto_increment"] ? auto_increment() : null),
);
}