Ignore lengths in adding new index
This commit is contained in:
parent
7c109ba274
commit
22b0a85acf
|
@ -74,11 +74,7 @@ if ($_POST["add"]) {
|
|||
}
|
||||
}
|
||||
$index = end($row["indexes"]);
|
||||
if ($index["type"]
|
||||
|| array_filter($index["columns"], 'strlen')
|
||||
|| array_filter($index["lengths"], 'strlen')
|
||||
|| array_filter($index["descs"])
|
||||
) {
|
||||
if ($index["type"] || array_filter($index["columns"], 'strlen')) {
|
||||
$row["indexes"][] = array("columns" => array(1 => ""));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue