Skip to content

Commit f2a03af

Browse files
authored
[Translations] Allow creation of case-sensitive translation keys (#1001)
* Added collation * Apply php-cs-fixer changes
1 parent a1503c4 commit f2a03af

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Installer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ private function createTranslationTable(Schema $schema): void
109109
$translationDomainTable->addColumn('key', 'string', [
110110
'notnull' => true,
111111
'length' => 190,
112+
'platformOptions' => [
113+
'collation' => 'utf8mb4_bin',
114+
],
112115
]);
113116

114117
$translationDomainTable->addColumn('type', 'string', [

0 commit comments

Comments
 (0)