From f0f468c94e29217ccdb952d76daa7e7f940b8a0f Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Mon, 24 Apr 2023 16:49:34 +0200 Subject: [PATCH] mustal bugfix create table key type --- vendor/mustal/mustal_mysql_upgrade_tool.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/mustal/mustal_mysql_upgrade_tool.php b/vendor/mustal/mustal_mysql_upgrade_tool.php index 1646204d..6d9fc6d1 100644 --- a/vendor/mustal/mustal_mysql_upgrade_tool.php +++ b/vendor/mustal/mustal_mysql_upgrade_tool.php @@ -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']."` "; }