Skip to content

Commit 694894d

Browse files
committed
bug #8805 Add 3rd slash for sqlite database url (jwmickey)
This PR was merged into the 4.0 branch. Discussion ---------- Add 3rd slash for sqlite database url The example code block for sqlite database url uses only two leading slashes, but should have three. Commits ------- b7d8f79 Add 3rd slash for sqlite database url
2 parents ca489ea + b7d8f79 commit 694894d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The database connection information is stored as an environment variable called
3939
DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name"
4040
4141
# to use sqlite:
42-
# DATABASE_URL="sqlite://%kernel.project_dir%/var/app.db"
42+
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/app.db"
4343
4444
Now that your connection parameters are setup, Doctrine can create the ``db_name``
4545
database for you:

0 commit comments

Comments
 (0)