forked from vsuaste/express_graphql_model_gen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for multiple database connections (#146)
* feat: new migrations folder structure for model-defined database connections * fix: do not generate static adapters index * fix: utils require path in migrations template * feat: explicit naming for default databases * fix: access internal sequelize model reference * tests: remove and ignore instance folders * fix: case-insensitive storageType check * feat: updated integration tests toolchain to use yarn workspaces * docs: added new flags to man page * fix: use distro node-jq binary * fix: yarn workspace not cleaning acl_rules * fix: branch checkout should delete generated code * feat: remove yarn and jq dependencies from CLI * feat: add helper for standard logs * fix: remove npm install from restartContainers() * chore: handle branch checkout in workspace * refactor: remove redundant function * fix: increase test 21. Limit check timeout to 10s * chore: remove deprecated sequelize config * fix: remove unused paths from .gitignore * docs: updates and fixes to the project README * fix: change docs from yarn to npm run * fix: -g should not crash if servers are not created * fix: remove ReconstructDb from comment * chore: use logTask for output messages * feat: async check and wait for gql server start * refactor: renamed T1 -> SERVER_CHECK_WAIT_TIME * refactor: do one thing, do it well; better log messages * fix: docker-compose creates empty node_modules * refactor: extract waitForGql() from doTests() * fix: out of place log * refactor: remove redundant checkCode() function * fix: do not attempt to list servers if the workspace has not been set * fix: using -b should checkout, fetch, and reset <branch> * chore: bump 0.2.0 -> 0.3.0
- Loading branch information
Showing
21 changed files
with
711 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"default-sql": { | ||
"storageType": "sql", | ||
"username": "sciencedb", | ||
"password": "sciencedb", | ||
"database": "sciencedb_development", | ||
"host": "gql_postgres1", | ||
"dialect": "postgres", | ||
"operatorsAliases": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"default-sql": { | ||
"storageType": "sql", | ||
"username": "sciencedb", | ||
"password": "sciencedb", | ||
"database": "sciencedb_development", | ||
"host": "gql_postgres2", | ||
"dialect": "postgres", | ||
"operatorsAliases": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.