Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Default type is int or integer

  • Loading branch information...
commit c8b14a1eff2bf175105606735637e259258222bf 1 parent 694a342
Jakub Vrána authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  adminer/create.inc.php
  2. +1 −0  changes.txt
2  adminer/create.inc.php
View
@@ -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) {
1  changes.txt
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.