mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-14 20:17:14 +01:00
mustal bugfix create table key type
This commit is contained in:
parent
b82d17d6f4
commit
f0f468c94e
8
vendor/mustal/mustal_mysql_upgrade_tool.php
vendored
8
vendor/mustal/mustal_mysql_upgrade_tool.php
vendored
@ -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']."` ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user