mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
SQLite: Don't mark multi-column primary key as auto_increment
This commit is contained in:
@@ -311,8 +311,8 @@ if (isset($_GET["sqlite"]) || isset($_GET["sqlite2"])) {
|
|||||||
$return[$primary]["auto_increment"] = false;
|
$return[$primary]["auto_increment"] = false;
|
||||||
} elseif (preg_match('~^integer$~i', $type)) {
|
} elseif (preg_match('~^integer$~i', $type)) {
|
||||||
$return[$name]["auto_increment"] = true;
|
$return[$name]["auto_increment"] = true;
|
||||||
$primary = $name;
|
|
||||||
}
|
}
|
||||||
|
$primary = $name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $return;
|
return $return;
|
||||||
|
Reference in New Issue
Block a user