Skip to content

Commit b7d8f79

Browse files
authored
Add 3rd slash for sqlite database url
The example code block for sqlite database url uses only two leading slashes, but should have three.
1 parent ca489ea commit b7d8f79

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)