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

rename useDatabase to useMysqlDatabase and mark useDatabase as as deprecate and support postgresDatabase #301

Open
6 of 10 tasks
ilyaskarim opened this issue Dec 5, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ilyaskarim
Copy link
Collaborator

ilyaskarim commented Dec 5, 2021

  • Remove mysql2 from package.json
  • Remove pg from package.json if exists
  • Write a method in utils that checks if a specific package is installed or not, there is already a method defined here
    export function checkIfPackageIsInstalled(packageName: String) {
  • When using useMysqlDatabase please check for mysql2 package
  • When using usePostgresDatabase please check for pg package by using that package.
  • You can write a better version of the above package checking function in the next folder if you want.
  • Update documentation
  • Confirm relationships work
  • Confirm relationships work in graphql
  • Confirm take backup works
@ilyaskarim ilyaskarim added the enhancement New feature or request label Dec 5, 2021
@ilyaskarim ilyaskarim changed the title rename useDatabase to useMysqlDatabase and mark useDatabase as as deprecate rename useDatabase to useMysqlDatabase and mark useDatabase as as deprecate and support postgresDatabase Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants