Default type is int or integer

This commit is contained in:
Jakub Vrana 2010-12-08 00:25:01 +01:00
parent 694a3420fa
commit c8b14a1eff
2 changed files with 2 additions and 1 deletions

View file

@ -93,7 +93,7 @@ page_header(($TABLE != "" ? lang('Alter table') : lang('Create table')), $error,
$row = array(
"Engine" => $_COOKIE["adminer_engine"],
"fields" => array(array("field" => "")),
"fields" => array(array("field" => "", "type" => (isset($types["int"]) ? "int" : (isset($types["integer"]) ? "integer" : "")))),
"partition_names" => array(""),
);
if ($_POST) {

View file

@ -4,6 +4,7 @@ All links and some forms by AJAX in browsers with support for history.pushState
History: edit all
MS SQL: auto primary and foreign key
SQLite: display 0
Create table default data type: int
Adminer 3.1.0 (released 2010-11-16):
TSV export and import