8000 Fix sample sqlite database path in doctrine config · a-ast/symfony-docs@e1115e5 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1115e5

Browse files
chalasrxabbuh
authored andcommitted
Fix sample sqlite database path in doctrine config
1 parent bd92dc4 commit e1115e5

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%/app/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