SQLite: Don't mark multi-column primary key as auto_increment
This commit is contained in:
parent
994fa4f1ea
commit
c1b9a9a46c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue