This repository has been archived by the owner on May 24, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dynamic Sequelize configuration (#29)
* Updated many dependencies * Updated sequelize version Requires migration template to return a promise now * Support loading dynamic database configuration If config is a .js file then load and call it. Dynamic loading and static config from a JSON file are covered by tests in test/tasks/sequelize_spec.js * Fixed exception deleting 'config' from options object * Removed use of task.init() Similar to what was done in grunt-sequelize-migrations * Removed VS Code directory from source control * Updated README and added contributors to package.json * Use version 4.1.0 for dependency updates and dynamic config * Updated license field and node version * Updated node version in Travis config to 8.10 * Normalize paths to test fixtures * Disable tests with path issue
- Loading branch information
Showing
12 changed files
with
5,822 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
logs | ||
coverage | ||
.idea | ||
.nyc_output |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "0.12" | ||
- "8.10" | ||
env: | ||
- NODE_ENV=test | ||
before_script: | ||
|
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,10 @@ | ||
module.exports = (function() { | ||
return { | ||
development: { | ||
user: 'user', | ||
password: 'password', | ||
database: 'db', | ||
dialect: 'postgres' | ||
} | ||
} | ||
})(); |
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,8 @@ | ||
{ | ||
"development": { | ||
"user": "user", | ||
"password": "password", | ||
"database": "test", | ||
"port": 0 | ||
} | ||
} |
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.