Skip to content

Commit

Permalink
Fix for #357 - error on moodle upgrade mysql 8
Browse files Browse the repository at this point in the history
  • Loading branch information
x-iy authored and keevan committed Sep 4, 2024
1 parent 6a5049c commit a258fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ function xmldb_tool_excimer_upgrade($oldversion) {
$sql = "DELETE FROM {tool_excimer_page_groups}
WHERE id NOT IN (
SELECT MIN(id)
FROM {tool_excimer_page_groups}
FROM (select * from {tool_excimer_page_groups}) a
GROUP BY LOWER(name), month
)";

Expand Down

0 comments on commit a258fde

Please sign in to comment.