Skip to content

Commit

Permalink
Fixed migration for databases other than MySQL and MariaDB.
Browse files Browse the repository at this point in the history
  • Loading branch information
jepf committed Jul 24, 2024
1 parent 077792c commit 14cf691
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 7.1.2 2024-07-24
- 2024-07-24 Fixed migration for databases other than MySQL and MariaDB.

# 7.1.1 2024-07-24
- 2024-07-18 Added Dark Skin.
- 2024-07-17 Removed ArticlePreViewModules from Medium.pm view. No articles are displayed at this point.
Expand Down
5 changes: 3 additions & 2 deletions scripts/Migration/Znuny/MigrateUTF8MB4.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Migrate database and all tables to utf8mb4
sub Run {
my ( $Self, %Param ) = @_;

return if !$Self->_CheckDatabaseBackend(%Param);
return 1 if !$Self->_IsAffectedDatabaseBackend(%Param);

return if !$Self->_CheckInnoDB(%Param);
return if !$Self->_SetNames(%Param);
return if !$Self->_SetCollationConnection(%Param);
Expand All @@ -40,7 +41,7 @@ sub Run {
return 1;
}

sub _CheckDatabaseBackend {
sub _IsAffectedDatabaseBackend {
my ( $Self, %Param ) = @_;

# verify that backend is mysql or mariadb
Expand Down

0 comments on commit 14cf691

Please sign in to comment.