From c91b7308935625399df4061d779f9b4ad4e7eb18 Mon Sep 17 00:00:00 2001 From: Robin Chalas Date: Thu, 15 Dec 2016 09:33:11 +0100 Subject: [PATCH 1/2] Fix sample sqlite database path in doctrine config --- reference/configuration/doctrine.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 1a58cfaeaa0..7a9c96c8da6 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -203,7 +203,7 @@ Full Default Configuration password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/app/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper" @@ -395,7 +395,7 @@ The following block shows all possible configuration keys: # the DBAL driverOptions option options: foo: bar - path: '%kernel.data_dir%/data.sqlite' + path: '%kernel.root_dir%/data/data.sqlite' memory: true unix_socket: /tmp/mysql.sock # the DBAL wrapperClass option @@ -431,7 +431,7 @@ The following block shows all possible configuration keys: password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.data_dir%/data.sqlite" + path="%kernel.root_dir%/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper" From 17d2e007da262dfcca6c6af6841a8cabab728c41 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Thu, 15 Dec 2016 12:47:15 +0100 Subject: [PATCH 2/2] %kernel.root_dir%/app/data/data.sqlite -> %kernel.root_dir%/data/data.sqlite --- reference/configuration/doctrine.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/configuration/doctrine.rst b/reference/configuration/doctrine.rst index 7a9c96c8da6..49955b67ef1 100644 --- a/reference/configuration/doctrine.rst +++ b/reference/configuration/doctrine.rst @@ -203,7 +203,7 @@ Full Default Configuration password="secret" driver="pdo_mysql" driver-class="MyNamespace\MyDriverImpl" - path="%kernel.root_dir%/app/data/data.sqlite" + path="%kernel.root_dir%/data/data.sqlite" memory="true" unix-socket="/tmp/mysql.sock" wrapper-class="MyDoctrineDbalConnectionWrapper"