File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
tests/Functional/App/config Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ private function adaptDatabaseSchemaToSqlite(Schema $schema): void
111
111
if ($ column ->hasPlatformOption ('collation ' )) {
112
112
$ column ->setPlatformOptions (array_diff_key (
113
113
$ column ->getPlatformOptions (),
114
- ['collation ' => true ]
114
+ ['collation ' => ' utf8_unicode_ci ' ]
115
115
));
116
116
}
117
117
}
Original file line number Diff line number Diff line change 8
8
$ containerConfigurator ->extension ('doctrine ' , [
9
9
'dbal ' => [
10
10
'url ' => 'sqlite:///%kernel.cache_dir%/data.db ' ,
11
+ 'options ' => [
12
+ 'collation ' => 'utf8mb4_unicode_ci ' ,
13
+ ],
11
14
],
12
15
'orm ' => [
13
16
'auto_generate_proxy_classes ' => true ,
Original file line number Diff line number Diff line change 5
5
<entity name =" BehatDoctrineFixtures\Tests\Functional\App\Entity\BaseEntity" table =" base_entity" >
6
6
<id name =" id" type =" integer" >
7
7
<generator strategy =" AUTO" />
8
+ <options >
9
+ <option name =" collation" >utf8_unicode_ci</option >
10
+ </options >
8
11
</id >
9
12
</entity >
10
13
</doctrine-mapping >
You can’t perform that action at this time.
0 commit comments