]> git.joonet.de Git - adminer.git/commitdiff
Display options for timestamp columns when creating a new table (thanks to Robert...
authorJakub Vrana <jakub@vrana.cz>
Thu, 1 Feb 2018 12:55:11 +0000 (13:55 +0100)
committerJakub Vrana <jakub@vrana.cz>
Thu, 1 Feb 2018 12:55:11 +0000 (13:55 +0100)
adminer/create.inc.php
changes.txt

index 1d881ffff0dc5cc12999869b8e1dd43c6dd5dfed..0f8bbb9ff577cfa39b1bbd953dc5651d5b799601 100644 (file)
@@ -120,7 +120,7 @@ page_header(($TABLE != "" ? lang('Alter table') : lang('Create table')), $error,
 if (!$_POST) {
        $row = array(
                "Engine" => $_COOKIE["adminer_engine"],
-               "fields" => array(array("field" => "", "type" => (isset($types["int"]) ? "int" : (isset($types["integer"]) ? "integer" : "")))),
+               "fields" => array(array("field" => "", "type" => (isset($types["int"]) ? "int" : (isset($types["integer"]) ? "integer" : "")), "on_update" => "")),
                "partition_names" => array(""),
        );
 
index eb7a328f365eee5225dea4c6c5594e1816c11183..44ab86a614346369540ed4a678194b0a140fc3ab 100644 (file)
@@ -4,6 +4,7 @@ PHP <5.3 compatibility even with Elasticsearch enabled
 Fully support functions in default values
 Stop redirecting links via adminer.org
 Support X-Forwarded-Prefix
+Display options for timestamp columns when creating a new table
 MySQL, PostgreSQL: Display warnings
 MariaDB: Support JSON since MariaDB 10.2
 PostgreSQL: Support functions