mirror of
https://github.com/vrana/adminer.git
synced 2025-08-07 23:27:17 +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;
|
||||
} elseif (preg_match('~^integer$~i', $type)) {
|
||||
$return[$name]["auto_increment"] = true;
|
||||
$primary = $name;
|
||||
}
|
||||
$primary = $name;
|
||||
}
|
||||
}
|
||||
return $return;
|
||||
|
Reference in New Issue
Block a user