Skip to content

Commit

Permalink
Issue #644: remove also column specifc collation directives
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Nov 22, 2020
1 parent 9e0ede4 commit 9b2ebf0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/backup.pl
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ sub BackupForMigrateFromOTRS {

# substitutions for removing collation directives
push @SchemaSubstitutions,
q{-e 's/COLLATE=\\w\\+/ /'}; # for CREATE TABLE, remove customer specific collation
q{-e 's/COLLATE [[:alnum:]_]\\+/ /'}, # for CREATE TABLE, remove customer specific collation
q{-e 's/COLLATE=[[:alnum:]_]\\+/ /'}; # for CREATE TABLE, remove customer specific collation
}

# create the commands that will actually be executed
Expand Down

0 comments on commit 9b2ebf0

Please sign in to comment.