Skip to content

Commit

Permalink
Bugfix: 1.5.38 Upgrade SQL syntax error (<=MySQL 5.7). Fixes #3443
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryAllan committed Nov 3, 2021
1 parent a216540 commit 3d9af93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/upgrade_queries/upgrade_queries_1.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
// Truncated change log errors, module defaults, MariaDB Galera compatibility
$upgrade_queries["1.5.38"] = [];

$upgrade_queries["1.5.38"][] = "ALTER TABLE `logs` CHANGE `command` `command` text DEFAULT '0';";
$upgrade_queries["1.5.38"][] = "ALTER TABLE `logs` CHANGE `command` `command` text DEFAULT NULL;";
$upgrade_queries["1.5.38"][] = "ALTER TABLE `logs` CHANGE `details` `details` text DEFAULT NULL;";
$upgrade_queries["1.5.38"][] = "ALTER TABLE `changelog` CHANGE `caction` `caction` ENUM('add','edit','delete','truncate','resize','perm_change') NOT NULL DEFAULT 'edit';";
$upgrade_queries["1.5.38"][] = "ALTER TABLE `changelog` CHANGE `cresult` `cresult` ENUM('error','success') NOT NULL DEFAULT 'success';";
Expand Down

0 comments on commit 3d9af93

Please sign in to comment.