Display options for timestamp columns when creating a new table (thanks to Robert Vlach)

This commit is contained in:
Jakub Vrana 2018-02-01 13:55:11 +01:00
parent ae91088cb3
commit 7296f017fb
2 changed files with 2 additions and 1 deletions

View 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(""),
);

View 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