Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Add TEST_DATABASE_URL to the default .env #123

Merged
merged 3 commits into from Jan 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Expand Up @@ -6,4 +6,4 @@
# variables in Settings > Build & Deploy > environment
#
# DATABASE_URL=postgres://user:pass@postgreshost.com:5432/database_name
# BINARY_TARGET=rhel-openssl-1.0.x
# TEST_DATABASE_URL=postgres://user:pass@postgreshost.com:5432/test_database_name
3 changes: 3 additions & 0 deletions .env.defaults
Expand Up @@ -6,5 +6,8 @@
# schema.prisma defaults
DATABASE_URL=file:./dev.db

# location of the test database for api service scenarios (defaults to ./.redwood/test.db if not set)
# TEST_DATABASE_URL=file:./.redwood/test.db

# disables Prisma CLI update notifier
PRISMA_HIDE_UPDATE_MESSAGE=true