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

Commit

Permalink
Modify psql setup test db script error in app package
Browse files Browse the repository at this point in the history
- favor snake_case for database name
  • Loading branch information
akhilome committed Sep 29, 2018
1 parent 5588e88 commit 47928e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test-watch": "nodemon --exec 'npm test'",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"purge-db": "echo 'DROP DATABASE IF EXISTS recipebook;' | psql -U postgres && echo 'CREATE DATABASE recipebook;' | psql -U postgres",
"setup-testdb": "echo 'DROP DATABASE IF EXISTS recipebook-test;' | psql -U postgres && echo 'CREATE DATABASE recipebook-test;' | psql -U postgres"
"setup-testdb": "echo 'DROP DATABASE IF EXISTS recipebook_test;' | psql -U postgres && echo 'CREATE DATABASE recipebook_test;' | psql -U postgres"
},
"keywords": [
"node-postgres"
Expand Down

0 comments on commit 47928e1

Please sign in to comment.