8000 minor #7267 Fix sample sqlite database path in doctrine config (chala… · a-ast/symfony-docs@89fe383 · GitHub
[go: up one dir, main page]

Skip to content

Commit 89fe383

Browse files
committed
minor symfony#7267 Fix sample sqlite database path in doctrine config (chalasr, javiereguiluz)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes symfony#7267). Discussion ---------- Fix sample sqlite database path in doctrine config Port of symfony#7263 for 2.7 Commits ------- 048579b %kernel.root_dir%/app/data/data.sqlite -> %kernel.root_dir%/data/data.sqlite e1115e5 Fix sample sqlite database path in doctrine config
2 parents bd92dc4 + 048579b commit 89fe383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/configuration/doctrine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Full Default Configuration
203203
password="secret"
204204
driver="pdo_mysql"
205205
driver-class="MyNamespace\MyDriverImpl"
206-
path="%kernel.data_dir%/data.sqlite"
206+
path="%kernel.root_dir%/data/data.sqlite"
207207
memory="true"
208208
unix-socket="/tmp/mysql.sock"
209209
wrapper-class="MyDoctrineDbalConnectionWrapper"
@@ -395,7 +395,7 @@ The following block shows all possible configuration keys:
395395
# the DBAL driverOptions option
396396
options:
397397
foo: bar
398-
path: '%kernel.data_dir%/data.sqlite'
398+
path: '%kernel.root_dir%/data/data.sqlite'
399399
memory: true
400400
unix_socket: /tmp/mysql.sock
401401
# the DBAL wrapperClass option
@@ -431,7 +431,7 @@ The following block shows all possible configuration keys:
431431
password="secret"
432432
driver="pdo_mysql"
433433
driver-class="MyNamespace\MyDriverImpl"
434-
path="%kernel.data_dir%/data.sqlite"
434+
path="%kernel.root_dir%/data/data.sqlite"
435435
memory="true"
436436
unix-socket="/tmp/mysql.sock"
437437
wrapper-class="MyDoctrineDbalConnectionWrapper"

0 commit comments

Comments
 (0)
0