-
Notifications
You must be signed in to change notification settings - Fork 5
#166265830 Integrate postgreSQL as the project database #11
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
Conversation
- install sequelize as ORM and sequelize-cli for operations - add users migrations and models for table creation and db interaction - update .env.sample file to contain database url - add database related scripts - update README.md file to describe new database scripts [Delivers #166265830]
| @@ -0,0 +1,25 @@ | |||
| 'use strict'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OvieMudi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is Hound CI nagging when you used built-in Node variables/functions like __dirname, require etc?
|
@OvieMudi I have no idea. I may have to look it up |
|
@OvieMudi check this out |
|
@chuxmykel that link is referring to the eslint configuration to add to the hound.yml file which @PelumiAlesh have taken care of. |
…equelize #166265830 Integrate postgreSQL as the project database
What does this PR do?
This PR integrates PostgreSQL as the project database using sequelize as an ORM. It also provides scripts for running basic database operations such as migrations and seeding.
Description of Task to be completed?
How should this be manually tested?
.envfile from the.env.samplefile providednpm installAny background context you want to provide?
What are the relevant pivotal tracker stories?
#166265830
Screenshots (if appropriate)