mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 06:00:28 +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 ";
|
$keystring = "PRIMARY KEY ";
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if(array_key_exists('Index_type', $key)) {
|
// if(array_key_exists('Index_type', $key)) {
|
||||||
$index_type = $key['Index_type'];
|
// $index_type = $key['Index_type'];
|
||||||
} else {
|
// } else {
|
||||||
$index_type = "";
|
$index_type = "";
|
||||||
}
|
// }
|
||||||
|
|
||||||
$keystring = $index_type." ".$key['Non_unique']." KEY `".$key['Key_name']."` ";
|
$keystring = $index_type." ".$key['Non_unique']." KEY `".$key['Key_name']."` ";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user