mirror of
https://github.com/vrana/adminer.git
synced 2025-08-20 21:31:44 +02:00
SQLite: Fix type of $auto_increment
This commit is contained in:
@@ -7,7 +7,7 @@ $row = $_POST;
|
||||
|
||||
if ($row && !$error) {
|
||||
if (JUSH == "sqlite") {
|
||||
$result = recreate_table($TABLE, $TABLE, array(), array(), array(), 0, array(), $name, ($row["drop"] ? "" : $row["clause"]));
|
||||
$result = recreate_table($TABLE, $TABLE, array(), array(), array(), "", array(), "$name", ($row["drop"] ? "" : $row["clause"]));
|
||||
} else {
|
||||
$result = ($name == "" || queries("ALTER TABLE " . table($TABLE) . " DROP CONSTRAINT " . idf_escape($name)));
|
||||
if (!$row["drop"]) {
|
||||
|
Reference in New Issue
Block a user