Permalink
Browse files

Default type is int or integer

  • Loading branch information...
1 parent 694a342 commit c8b14a1eff2bf175105606735637e259258222bf @vrana committed Dec 7, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −1 adminer/create.inc.php
  2. +1 −0 changes.txt
View
2 adminer/create.inc.php
@@ -93,7 +93,7 @@
$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
1 changes.txt
@@ -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

0 comments on commit c8b14a1

Please sign in to comment.