Skip to content

Commit 9126fdf

Browse files
committed
Fix sample sqlite database path in doctrine config
1 parent 10b7771 commit 9126fdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/configuration/doctrine.rst

+2-2
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%/../var/data/data.sqlite"
207207
memory="true"
208208
unix-socket="/tmp/mysql.sock"
209209
wrapper-class="MyDoctrineDbalConnectionWrapper"
@@ -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%/../var/data/data.sqlite"
435435
memory="true"
436436
unix-socket="/tmp/mysql.sock"
437437
wrapper-class="MyDoctrineDbalConnectionWrapper"

0 commit comments

Comments
 (0)