mustal bugfix create table key type

This commit is contained in:
OpenXE 2023-04-24 16:49:34 +02:00
parent b82d17d6f4
commit f0f468c94e

View File

@ -586,11 +586,11 @@ function mustal_calculate_db_upgrade(array $compare_def, array $db_def, array &$
$keystring = "PRIMARY KEY ";
} else {
if(array_key_exists('Index_type', $key)) {
$index_type = $key['Index_type'];
} else {
// if(array_key_exists('Index_type', $key)) {
// $index_type = $key['Index_type'];
// } else {
$index_type = "";
}
// }
$keystring = $index_type." ".$key['Non_unique']." KEY `".$key['Key_name']."` ";
}