Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#160819060 Setup application database #41

Merged
merged 1 commit into from
Sep 30, 2018

Conversation

akhilome
Copy link
Owner

What does this PR do?

Setup and configure Postgres database for app and for testing

Description of Task to be completed?

  • install node-postgres npm module (pg)
  • configure pg to export two pools (one for the normal database, one for test database)
  • add normal database and test database URLs to .env
  • create database schema
  • setup npm scripts to manage database
    • a script to purge the normal database
    • a script to purge the test database
    • a script to setup database schema

How should this be manually tested?

N/A

What are the relevant pivotal tracker stories?

#160819060

- install and configure pg to export two pools
- add normal database and test database urls to .env
- create database schema
- setup npm scripts to manage database

[Finishes #160819060]
@akhilome akhilome merged commit 5b50008 into develop Sep 30, 2018
@coveralls
Copy link

Pull Request Test Coverage Report for Build 60

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 57: 0.0%
Covered Lines: 214
Relevant Lines: 214

💛 - Coveralls

@akhilome akhilome deleted the ch-setup-database-160819060 branch October 8, 2018 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants