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

add database tooling #169

Merged
merged 5 commits into from
Jan 23, 2018
Merged

add database tooling #169

merged 5 commits into from
Jan 23, 2018

Conversation

jackcmeyer
Copy link
Member

closes #122

  • adds support for choosing a database tool, with the initial tool choice Sequelize.

@codecov
Copy link

codecov bot commented Jan 22, 2018

Codecov Report

Merging #169 into dev will increase coverage by 1.67%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #169      +/-   ##
==========================================
+ Coverage   75.41%   77.08%   +1.67%     
==========================================
  Files          19       20       +1     
  Lines         480      515      +35     
==========================================
+ Hits          362      397      +35     
  Misses        118      118
Impacted Files Coverage Δ
src/prompt/prompt.js 81.25% <ø> (ø) ⬆️
src/constants/choices.js 100% <ø> (ø) ⬆️
src/services/sequelize-service.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e1e7e9a...351bfb7. Read the comment docs.

* Facilitates prompting the user for their username and password
* @returns credentials the username and password of the user
*/
export async function signInToSequelize() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change the name of this function to signIntoMysql in case other dbs in the future need mysql credentials

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not going to change to keep since this just calls a common method anyways and we might want to add new tools later, which would require a separate function.

file.writeFile(`${projectName}/package.json`, projectPackageJson);
}


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a comment

@clarkerican clarkerican merged commit e37576e into dev Jan 23, 2018
@clarkerican clarkerican deleted the fix-122-database-tooling branch January 23, 2018 02:01
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