Skip to content

Commit 464e786

Browse files
committed
Fixed the syntax of the sqlite:/// URL
1 parent 8b1efdd commit 464e786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/config/parameters.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ parameters:
1717
# this demo application uses an embedded SQLite database to simplify setup.
1818
# in a real Symfony application you probably will use a MySQL or PostgreSQL database
1919
# the path must be relative or else it will not work on Windows
20-
env(DATABASE_URL): 'sqlite://%kernel.project_dir%/var/data/blog.sqlite'
20+
env(DATABASE_URL): 'sqlite:///%kernel.project_dir%/var/data/blog.sqlite'
2121

2222
# Uncomment this line to use a MySQL database instead of SQLite (and remove
2323
# the "doctrine" section from config_dev.yml regarding SQLite):

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<php>
1111
<ini name="error_reporting" value="-1" />
1212
<server name="KERNEL_DIR" value="app/" />
13-
<env name="DATABASE_URL" value="sqlite://%kernel.project_dir%/var/data/blog_test.sqlite"/>
13+
<env name="DATABASE_URL" value="sqlite:///%kernel.project_dir%/var/data/blog_test.sqlite"/>
1414
</php>
1515

1616
<testsuites>

0 commit comments

Comments
 (0)