Skip to content

Commit d524029

Browse files
committed
minor symfony#14569 Update doctrine.rst (abdounikarim)
This PR was merged into the 4.4 branch. Discussion ---------- Update doctrine.rst Hello, I update mysql server version. Commits ------- 3b1ade0 Update doctrine.rst
2 parents 3d274ed + 3b1ade0 commit d524029

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/doctrine.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The following block shows all possible configuration keys:
6565
charset: UTF8
6666
logging: '%kernel.debug%'
6767
platform_service: App\DBAL\MyDatabasePlatformService
68-
server_version: '5.6'
68+
server_version: '5.7'
6969
mapping_types:
7070
enum: string
7171
types:
@@ -99,7 +99,7 @@ The following block shows all possible configuration keys:
9999
charset="UTF8"
100100
logging="%kernel.debug%"
101101
platform-service="App\DBAL\MyDatabasePlatformService"
102-
server-version="5.6">
102+
server-version="5.7">
103103
104104
<doctrine:option key="foo">bar</doctrine:option>
105105
<doctrine:mapping-type name="enum">string</doctrine:mapping-type>
@@ -121,8 +121,8 @@ The following block shows all possible configuration keys:
121121

122122
Always wrap the server version number with quotes to parse it as a string
123123
instead of a float number. Otherwise, the floating-point representation
124-
issues can make your version be considered a different number (e.g. ``5.6``
125-
will be rounded as ``5.5999999999999996447286321199499070644378662109375``).
124+
issues can make your version be considered a different number (e.g. ``5.7``
125+
will be rounded as ``5.6999999999999996447286321199499070644378662109375``).
126126

127127
If you don't define this option and you haven't created your database
128128
yet, you may get ``PDOException`` errors because Doctrine will try to

0 commit comments

Comments
 (0)