forked from diesel-rs/diesel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
15 lines (13 loc) · 833 Bytes
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# The database to use when testing against Postgres.
PG_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/diesel_test
# The database to use when running the Postgres examples during testing.
PG_EXAMPLE_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/diesel_example
# The database to use when testing against MySQL.
MYSQL_DATABASE_URL=mysql://root@127.0.0.1:3306/diesel_test
# The database to use when running the MySQL examples during testing.
MYSQL_EXAMPLE_DATABASE_URL=mysql://root@127.0.0.1:3306/diesel_example
# A database different from the others above used for certain unit tests.
# TODO: this is magical, explain what it's there for.
MYSQL_UNIT_TEST_DATABASE_URL=mysql://root@127.0.0.1:3306/diesel_unit_test
# The database to use when testing against SQLite.
SQLITE_DATABASE_URL=/tmp/diesel_test.sqlite