Skip to content

Unfork DB Migrate #17

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

Merged
merged 457 commits into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
457 commits
Select commit Hold shift + click to select a range
4438187
cs fixes
wzrdtales Sep 6, 2015
baf8715
add concepting to comments
wzrdtales Sep 6, 2015
99753e8
Merge pull request #301 from PerionNet/master
wzrdtales Sep 8, 2015
fd41028
fix driver inclusion
wzrdtales Sep 8, 2015
d105ea0
remove sqlite dependency, add sqlite to devdependencies and outsource…
wzrdtales Sep 8, 2015
fa64f2d
remove unnecessary files
wzrdtales Sep 8, 2015
cedc8b7
remove mongodb dependency, outsource mongodb driver
wzrdtales Sep 8, 2015
251d8fa
Bump sqlite3 package version to fix issue with node 4.0.0
SamuelBolduc Sep 10, 2015
e578d80
Bump sqlite3 package version to fix issue with node 4.0.0
SamuelBolduc Sep 10, 2015
0a01fe7
add node version 4.0, remove iojs allowed build failures
wzrdtales Sep 10, 2015
a701d6d
Merge pull request #306 from SamuelBolduc/master
wzrdtales Sep 10, 2015
37ecd3a
remove mysql dependency and add to dev for testing purposes
wzrdtales Sep 10, 2015
0fded99
fix index_test tests
wzrdtales Sep 10, 2015
9e0cb13
change base test to extern base
wzrdtales Sep 10, 2015
a094316
fix index test
wzrdtales Sep 10, 2015
8fb700e
remove last driver dependencies
wzrdtales Sep 10, 2015
9dc969b
add pg to dev dependencies
wzrdtales Sep 10, 2015
e809253
?
wzrdtales Sep 10, 2015
4040c47
updated fixed pg driver
wzrdtales Sep 10, 2015
a11f652
add error message to executeDB and handle callback
wzrdtales Sep 10, 2015
f0b7d31
return error message if available or the object/message directly pass…
wzrdtales Sep 10, 2015
8248b09
fix some cs issues
wzrdtales Sep 14, 2015
2145e08
add missing nosql methods to interface
wzrdtales Sep 16, 2015
158c718
do not strip private functions from driver
wzrdtales Sep 16, 2015
9fc1745
change config to internal scope
wzrdtales Sep 18, 2015
d1c0aa6
fix test for new internal config
wzrdtales Sep 18, 2015
e2bca14
fix last details to move config i into internal scope
wzrdtales Sep 20, 2015
7715206
remove debug message
wzrdtales Sep 20, 2015
03b77a5
remove es5 from jshint rules, fix one cs
wzrdtales Sep 21, 2015
36c1110
add rules to jshint
wzrdtales Sep 23, 2015
e9fd4a2
fix some cs issues and adjust rules
wzrdtales Sep 23, 2015
b2dc3cb
adjust some settings and add jscs already
wzrdtales Sep 25, 2015
407b96e
[cs] fixed some issues and do some cleanup
wzrdtales Sep 25, 2015
952198e
update lab
wzrdtales Sep 29, 2015
b8a7a90
update dependency and check
wzrdtales Oct 1, 2015
a5f3b8b
add 4.1 to travis ci
wzrdtales Oct 1, 2015
5eb2b6d
change couple of templates
wzrdtales Oct 9, 2015
092cd79
update sql templates
wzrdtales Oct 9, 2015
a1757ef
add undo seed function to api
wzrdtales Oct 11, 2015
b25ccb0
fix bug on up/down of seeders
wzrdtales Oct 11, 2015
fbc7bd5
add reset method and limit down methods of seeds
wzrdtales Oct 12, 2015
c4e1103
add dummy calls to linked seeders and migrations
wzrdtales Oct 14, 2015
3628287
link to read the docs and remove readme documentation
wzrdtales Oct 17, 2015
f424e9e
0.10.0-beta.1
wzrdtales Oct 17, 2015
477fe25
remove the badge ending from the documentation url
wzrdtales Oct 17, 2015
c063049
make entry in readme more clear to be also a user manual
wzrdtales Oct 18, 2015
3c51af0
Extend startup with logging and failure handling on 0.9.x versions
wzrdtales Oct 19, 2015
b067864
0.10.0-beta.2
wzrdtales Oct 19, 2015
315ce80
add lts node.js version to travis tests
wzrdtales Oct 19, 2015
b3df83b
Merge branch 'v0.10.x'
wzrdtales Oct 19, 2015
bd21f85
Resolve driver from local projects
wzrdtales Oct 19, 2015
73ce1bc
use synchronized variant of resolve for drivers
wzrdtales Oct 19, 2015
6264db1
0.10.0-beta.3
wzrdtales Oct 19, 2015
a627f2c
Merge branch 'v0.10.x'
wzrdtales Oct 19, 2015
caf429e
fix sql templates to work with 0.10.x again
wzrdtales Oct 20, 2015
f97a8f7
ignore on init formatting
wzrdtales Oct 20, 2015
c2ef3b9
0.10.0-beta.4
wzrdtales Oct 20, 2015
a0d5a6c
Support setting default environment via ENV variable.
sankethkatta Nov 5, 2015
d632c78
Merge branch 'v0.10.x'
wzrdtales Nov 8, 2015
a5f4a6e
Merge pull request #322 from sankethkatta/master
wzrdtales Nov 8, 2015
81abf8e
Support setting default environment via ENV variable.
sankethkatta Nov 5, 2015
6c70375
coffeescript template refactory
lfreneda Nov 18, 2015
7307f6e
Merge pull request #327 from lfreneda/coffeescript-template-fix
wzrdtales Nov 20, 2015
cc32cfd
add scope logging
wzrdtales Dec 3, 2015
d8e25f3
[bugfix] internal linking causes infinite loop
wzrdtales Dec 3, 2015
9fd09d7
add scope logging
wzrdtales Dec 3, 2015
c0fb2ae
[bugfix] internal linking causes infinite loop
wzrdtales Dec 3, 2015
45a0c70
coffeescript template refactory
lfreneda Nov 18, 2015
2dc48ab
Merge branch 'v0.10.x'
wzrdtales Dec 3, 2015
4532757
0.10.0-beta.5
wzrdtales Dec 3, 2015
f235bf1
remove debug message
wzrdtales Dec 3, 2015
fe83b9b
0.10.0-beta.6
wzrdtales Dec 3, 2015
a039b13
Merge branch 'v0.10.x'
wzrdtales Dec 3, 2015
2d3bf03
allow configuration through options object
mfellner Jan 1, 2016
c37a665
Merge pull request #332 from mfellner/master
wzrdtales Jan 3, 2016
7a262e1
adjust test
wzrdtales Oct 21, 2015
bae7672
add direct execution of seeders and migrator links
wzrdtales Oct 22, 2015
b6b111b
Fix config file setting.
sankethkatta Jan 8, 2016
070eb07
Merge pull request #335 from sankethkatta/master
wzrdtales Jan 8, 2016
01c5560
update parse db-url to 0.3.0
wzrdtales Jan 12, 2016
5ba0984
update some dependencies
wzrdtales Jan 12, 2016
ed0bb83
fix(migration):
wzrdtales Jan 25, 2016
68f4d89
fix(api): callback not called on run
wzrdtales Jan 25, 2016
67ac66a
fix(api): callback called twice
wzrdtales Jan 25, 2016
39e0b88
Fix promise issue for down migrations.
sankethkatta Jan 25, 2016
2553cd7
Merge pull request #344 from sankethkatta/master
wzrdtales Jan 25, 2016
e6df315
refactor(migration): Make check for promise more reliable
wzrdtales Jan 27, 2016
8d1b978
fix(test): Stub MySQL connect method instead of calling the original
wzrdtales Feb 3, 2016
3c4f906
chore(security): Bump dependency because of security vulnerability
wzrdtales Feb 5, 2016
eb0e3c6
pull down package.json
wzrdtales Feb 5, 2016
30b9119
chore(dependencies): update and remove unneeded dependencies
wzrdtales Feb 5, 2016
0addd60
Update data_type.js
onesien Mar 24, 2016
4cf1fdc
Merge pull request #361 from onesien/patch-1
wzrdtales Apr 17, 2016
c55cae2
chore(travis): change travis config to use modern compiler
wzrdtales Apr 17, 2016
57cc05a
chore(travis): add node 5 to ci builds
wzrdtales Apr 17, 2016
d281bf1
chore(travis): remove obsolete node 4.1
wzrdtales Apr 17, 2016
28afd40
Avoid warning in promise/callback bridge code
leedm777 Apr 11, 2016
931795c
Updated documentation link in README
Srikanth-AD May 9, 2016
4291580
Merge pull request #371 from modestkdr/patch-1
wzrdtales May 9, 2016
baabd7e
chore(travis): add node 6
wzrdtales May 12, 2016
67a0f61
fix(api): fix race condition on create migration
wzrdtales May 17, 2016
651fa91
0.10.0-beta.12
wzrdtales May 17, 2016
9a051f0
chore(compatibility): update dependencies
wzrdtales May 26, 2016
3012b9e
Merge pull request #367 from leedm777/explicit-return
wzrdtales Jun 20, 2016
cea543c
chore(dev): add .tern file to project
wzrdtales Jun 22, 2016
0fb8ab4
refactor(log): move log into new extern lib
wzrdtales Jun 22, 2016
a087d3a
refactor(datatype): move dataType into new extern lib
wzrdtales Jun 22, 2016
3af5161
refactor(remove): remove log and dataType artifacts
wzrdtales Jun 22, 2016
6c51f8c
refactor(util): remove util artifact
wzrdtales Jun 22, 2016
9a0a65f
detect real callback for several api functions
wzrdtales Jul 11, 2016
3fca510
feat(api): promisify all current api methods
wzrdtales Jul 11, 2016
47b72fa
refactor(ssh): delay loading of tunnel-ssh and improve load time
wzrdtales Jul 15, 2016
d538186
refactor(modularize): require inflection from npm instead
wzrdtales Jul 26, 2016
03226f3
refactor(tests): added shadow test and rewrite api test
wzrdtales Jul 27, 2016
4949f2e
chore(comments): add some notes to the api tests
wzrdtales Jul 27, 2016
2d9037f
refactor(globals): remove several globals, this might break things
wzrdtales Jul 27, 2016
f716000
chore(parallelize): parallelize non interferring api tests
wzrdtales Jul 27, 2016
b6c9365
refactor(tests): add index tests and some configs
wzrdtales Aug 3, 2016
a7e5de7
refactor(tests): refactored util_tests
wzrdtales Aug 3, 2016
4152b41
refactor(tests): refactored migration tests
wzrdtales Aug 3, 2016
555866f
refactor(tests): refactored config tests
wzrdtales Aug 3, 2016
7f4a625
refactor(tests): refactored base tests
wzrdtales Aug 3, 2016
687035f
refactor(tests): add create tests and remove sample shadows
wzrdtales Aug 4, 2016
d05a874
chore(ci,dep): update ci and dependencies
wzrdtales Aug 10, 2016
1c8a308
chore(test): create Makefile for tests and edit ci config
wzrdtales Aug 10, 2016
bf87801
chore(ci): clean up ci config
wzrdtales Aug 10, 2016
0028a65
chore(dependencies): upgrade dotenv and pkginfo
wzrdtales Aug 12, 2016
7d53893
chore(devdep): update and remove some devDependencies
wzrdtales Aug 12, 2016
6fb6b97
use path.join (#353)
reggi Aug 15, 2016
3480e7a
fix(template): fix unnoticed error introduced in the last merge request
wzrdtales Aug 16, 2016
2ad22b1
feat(plugins): add basic support for plugins and improve performance
wzrdtales Aug 22, 2016
bbf9c3c
chore(leftover): remove example plugin leftover from package.json
wzrdtales Aug 22, 2016
9df704e
fix(api): fix introduced undefined behavior of specified configs
wzrdtales Aug 22, 2016
d6cf5d4
fix(api): fix scoping
wzrdtales Sep 5, 2016
a6b3a45
most of the first protocol transition and the transition helper
wzrdtales Sep 14, 2016
cd23b42
feat(transitioner): add transitioner to easen the process of protocol…
wzrdtales Sep 28, 2016
a924436
feat(hook): parser hook and transitioner api
wzrdtales Sep 28, 2016
c9c49d0
fix(config): Don't throw if environment variable is empty
wzrdtales Sep 28, 2016
72942cb
chore(hook): allow also to hook without adding any extension
wzrdtales Sep 28, 2016
a26b6fd
fix(transitioner): add new parser internal to transitioner
wzrdtales Sep 28, 2016
18eb4a6
fix(transitioner): catch whitespaces properly
wzrdtales Sep 28, 2016
688b89f
chore(templates): add meta protocol v1 to already aligned migration t…
wzrdtales Sep 28, 2016
1d2ee9e
feat(plugin): add basic plugin support
wzrdtales Sep 29, 2016
f8039f3
fix(plugin): use correct path to include plugins
wzrdtales Sep 29, 2016
376fdc3
fix(errorhandling): Add missing error assertion in executeDB
wzrdtales Sep 29, 2016
fa1a161
feat(sync): add sync mode
wzrdtales Sep 30, 2016
26cf00d
refactor(tests): remove tests from main repo
wzrdtales Sep 30, 2016
7ed971a
refactor(cleanup): cleanup package.json and add db.config.ci back
wzrdtales Sep 30, 2016
5756da8
chore(ci): exclude interfaces
wzrdtales Sep 30, 2016
7fc8e5a
chore(ci): Readd missing dependencies
wzrdtales Sep 30, 2016
68de844
chore(test): Add Test for privateKey param on shh tunnel
wzrdtales Oct 4, 2016
b681257
fix(resolve): Check if resolved version has plugin support
wzrdtales Oct 10, 2016
43c4ca2
log error on undefined stack
staff0rd Nov 21, 2016
793a3db
Merge pull request #444 from staff0rd/nullcheck_onError
wzrdtales Nov 21, 2016
3e06b1c
refactor(api): cleanup information and added commentary
wzrdtales Nov 30, 2016
b5e7c80
feat(config): add rc style configs
wzrdtales Nov 30, 2016
d1c81c6
refactor(api): refactor tests and make api.js more modular
wzrdtales Nov 30, 2016
a2522a2
fix(api): add missing reference to sync
wzrdtales Nov 30, 2016
11fef29
refactor(api): remove last output of postponed seeders
wzrdtales Nov 30, 2016
3f0bd07
add test dummies for api
wzrdtales Nov 30, 2016
85bde6d
add first programable api tests
wzrdtales Nov 30, 2016
ecae49b
directly use promises in tests
wzrdtales Nov 30, 2016
369bf85
Double quoting interpolated file name for coffee
kreichert Jun 15, 2017
f7c28c1
fix(create): use same timestamp in every created file
Jul 9, 2017
41628f7
Merge pull request #485 from gmanriqueUy/master
wzrdtales Jul 12, 2017
4238ecd
Merge pull request #481 from kreichert/master
wzrdtales Jul 12, 2017
ec24db4
fix(args): dont parse when called as module
wzrdtales Dec 14, 2016
b0837d5
fix deep config replacements
wzrdtales Jul 11, 2017
8be9215
feat(config): helper to overwrite and extend configuration
wzrdtales Aug 13, 2017
335dea1
fix(tests): fix breaking tests
wzrdtales Aug 13, 2017
a793f44
refactor(config): do not just interpret database.json
wzrdtales Aug 13, 2017
2829058
fix(create): Fix create when using db-migrate as module
Sep 9, 2017
8fb4a1b
test(create): Fix testing as module when no database.json on root
Sep 13, 2017
f2be116
Merge pull request #496 from gmanriqueUy/master
wzrdtales Sep 13, 2017
c4f0eed
fix small typo in cli help menu
philipyoo Sep 15, 2017
14ffafd
Merge pull request #497 from philipyoo/master
wzrdtales Sep 18, 2017
93679a5
allow rc file to contain location of config file
Amos47 Sep 22, 2017
876f512
print the reason in unhandledRejection evnet if reason.stack does not…
imchao9 Sep 26, 2017
2f86f91
Merge pull request #500 from junchaozhang/master
wzrdtales Sep 26, 2017
489d498
complete refactor of api js
wzrdtales Oct 29, 2017
388facf
add eslint to dependencies
wzrdtales Oct 29, 2017
d5a688e
fix a few bugs and update tests
wzrdtales Oct 30, 2017
d811fae
fix last tests
wzrdtales Oct 30, 2017
9e71c2a
adjust to cs
wzrdtales Nov 11, 2017
4de822b
adjust manual changes for cs
wzrdtales Nov 11, 2017
18a0032
remove process.exit when no callback passed and remove optimist help …
wzrdtales Nov 18, 2017
aa25283
add changelog and release 0.10.0
wzrdtales Nov 22, 2017
117b041
0.10.0
wzrdtales Nov 22, 2017
6ad37ca
adjusted tests and updated devDependencies
wzrdtales Nov 22, 2017
e44f641
readd pkg-lock
wzrdtales Nov 22, 2017
486fbe2
change tested versions
wzrdtales Nov 22, 2017
85243af
rewrite latest to node
wzrdtales Nov 22, 2017
759c270
add linting and fix cs on config test
wzrdtales Nov 22, 2017
df3ffa8
add commitlint
wzrdtales Nov 22, 2017
d39b821
feat(config): Add configFile Option to rc config
wzrdtales Nov 22, 2017
72fce59
remove parallel: true as it was deprecated
wzrdtales Nov 22, 2017
0692daa
add stale config
wzrdtales Nov 23, 2017
73904ac
use more appropiate label
wzrdtales Nov 23, 2017
5c2201c
Create CODE_OF_CONDUCT.md
wzrdtales Nov 27, 2017
991ee76
fix(db): wrong reference to connect causes db:create to fail
wzrdtales Nov 27, 2017
89c57d1
0.10.1
wzrdtales Nov 27, 2017
a1bf9e8
add changelog
wzrdtales Nov 27, 2017
16512f6
fix(log): error ended up in unreadable errors
wzrdtales Dec 1, 2017
31e094e
add changelog
wzrdtales Dec 1, 2017
a0d251e
chore: Remove `moment`.
wtgtybhertgeghgtwtg Nov 29, 2017
ae6cd4b
Merge pull request #523 from wtgtybhertgeghgtwtg/remove-moment
wzrdtales Dec 3, 2017
3c0fcbf
feat(issuetemplate): added a github issue template
BorntraegerMarc Jan 4, 2018
5450eb4
Merge pull request #530 from BorntraegerMarc/master
wzrdtales Jan 4, 2018
3c6fc33
fix(exitCode): wrong check for existence fixed
wzrdtales Feb 2, 2018
b1a3869
refactor(deprecationNotice): remove insert deprecation
wzrdtales Feb 3, 2018
486cb78
fix(exitCode): wrong exit code on db methods
wzrdtales Feb 3, 2018
392d88c
fix(switchDatabase): no error was thrown on scope switch
wzrdtales Feb 3, 2018
7853c05
0.10.3
wzrdtales Feb 3, 2018
467bf2a
add changelog
wzrdtales Feb 3, 2018
7ca2f56
fix(insert): add missing insert entry to interface
wzrdtales Feb 6, 2018
5d2c393
0.10.4
wzrdtales Feb 6, 2018
e3ba2ce
changelog
wzrdtales Feb 6, 2018
66996cd
0.10.5
wzrdtales Feb 6, 2018
a39606e
update to use real checkboxes
wzrdtales Feb 8, 2018
eb93c75
Update ISSUE_TEMPLATE.md
wzrdtales Feb 8, 2018
2cd0578
feat(contribution): enrich contribution instructions
wzrdtales Feb 26, 2018
5ee386b
feat(contribution): enrich contribution instructions, issues
wzrdtales Feb 26, 2018
fd8562e
feat(progamableApi): CMD options can be passed programatically now
BorntraegerMarc Mar 20, 2018
21c3eb9
fix(ci): add ignores for backported features
wzrdtales Mar 20, 2018
93afd7d
chore: update dependencies
wzrdtales Mar 20, 2018
623da33
Merge branch 'master' of https://github.com/db-migrate/node-db-migrate
BorntraegerMarc Mar 20, 2018
d761ebf
feat(progamableApi): using const now
BorntraegerMarc Mar 20, 2018
cc6ac29
Merge pull request #555 from BorntraegerMarc/master
wzrdtales Mar 21, 2018
2a6b0f9
add changelog
wzrdtales Mar 21, 2018
efb8f36
0.10.6
wzrdtales Mar 21, 2018
6c7dc67
chore: add test to detect cmdOptions functionality
wzrdtales Mar 27, 2018
cb88b58
fix(progamableApi): cmdOptions get passed into setDefaultArgv now
BorntraegerMarc Mar 27, 2018
0223c23
Merge branch 'BorntraegerMarc-patch-1'
wzrdtales Mar 27, 2018
7cc47b1
0.10.7
wzrdtales Mar 27, 2018
96b0bf3
add changelog
wzrdtales Mar 27, 2018
387219d
chore: update dependency
wzrdtales Apr 10, 2018
03659d9
chore: update dependency
wzrdtales Apr 10, 2018
56acdb9
feat(check): add check functionality to determine migrations to run
Mar 19, 2018
0c19dba
Merge pull request #552 from blend/nate/check
wzrdtales Apr 10, 2018
0d18ac2
0.11.0
wzrdtales Apr 10, 2018
f2ea484
add changelog
wzrdtales Apr 10, 2018
b94db96
fix(reset): regression introduced in check functionality
wzrdtales Apr 10, 2018
aeca980
add changelog
wzrdtales Apr 10, 2018
86669d5
0.11.1
wzrdtales Apr 10, 2018
b743696
fix(check): fix check via API not passing results to the callback
Apr 11, 2018
fb75330
Merge pull request #563 from blend/nate/fixOnComplete
wzrdtales Apr 30, 2018
1b32dc5
save
Apr 30, 2018
3e8fa31
save
May 14, 2018
67e53d3
updates
May 20, 2018
88d9126
cleanup
May 21, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "standard",
"rules": {
"semi": ["error", "always"],
"no-unused-vars": "warn",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }]
}
}
36 changes: 36 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
## I'm submitting a...
<!-- Check one of the following options with "x" -->

- [ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting -->
- [ ] Feature request
- [ ] Question


## Current behavior
<!-- Describe how the issue manifests. -->


## Expected behavior
<!-- Describe what the desired behavior would be. -->


## Minimal reproduction of the problem with instructions

## What is the motivation / use case for changing the behavior?
<!-- Describe the motivation or the concrete use case. -->


## Environment

<pre><code>
db-migrate version: X.Y.Z
plugins with versions: X.Y.Z
db-migrate driver with versions: <!-- eg. mongodb vX.Y.Z -->

Additional information:
- Node version: XX <!-- run `node --version` -->
- Platform: <!-- Mac, Linux, Windows -->

Others:
<!-- Anything else relevant? Operating system version, IDE, package manager, HTTP server, ... -->
</code></pre>
23 changes: 23 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
- feature
- Refactoring
- RFC
- bug
- documentation
- bounty
- pinned
- security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ Seeder/
test/db.config.json
database.json
*.sublime-project
*.sublime-workspace
*.sublime-workspace
archive
.db-migraterc

# Vim swap files
.*.sw[a-z]
Empty file added .jscsrc
Empty file.
3 changes: 2 additions & 1 deletion .jshintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
lib/inflection.js
12 changes: 10 additions & 2 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"es5": true,
"expr": true,
"-W092": false,
"quotmark": true
"quotmark": true,
"curly": false,
"bitwise": false,
"eqeqeq": true,
"funcscope": true,
"futurehostile": true,
"nonew": true,
"unused": true,
"shadow": true,
"loopfunc": true
}
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.github
test
migrations
VCSeeder
Expand All @@ -6,4 +7,6 @@ node_modules
*.db
database.json
*.sublime-project
*.sublime-workspace
*.sublime-workspace
archive
.db-migraterc
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
7 changes: 7 additions & 0 deletions .tern-project
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"plugins": {
"node": {},
"lint": {},
"node-extension": {}
}
}
56 changes: 34 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,46 @@
language: node_js

node_js:
- 0.10
- 0.12
- io.js
- 4
- 6
- 8
- node

notifications:
email:
recipients:
- [email protected]
webhooks:
urls:
- https://webhooks.gitter.im/e/509c88551a18006fe93f
on_success: change
on_failure: always
on_start: false

services:
- mongodb
os:
- linux

env:
- DB=mysql
- DB=mariadb
- DB=postgres92
- DB=postgres93
matrix:
allow_failures:
- node_js: node
fast_finish: true

sudo: false

cache:
npm: true
directories:
- node_modules

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

before_install:
- export CXX=g++-4.8; export CC=gcc-4.8;

before_script:
- until nc -z localhost 27017 ; do echo Waiting for MongoDB; sleep 1; done
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo apt-get install python-software-properties; fi"
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db; fi"
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/10.0/ubuntu precise main'; fi"
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo apt-get update; fi"
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo apt-get purge mysql*; fi"
- sh -c "if [ '$DB' = 'mariadb' ]; then sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install mariadb-server-10.0 -y; fi"
- sh -c "if [ '$DB' = 'postgres92' ]; then sudo /etc/init.d/postgresql stop && sudo /etc/init.d/postgresql start 9.2; fi"
- sh -c "if [ '$DB' = 'postgres93' ]; then sudo /etc/init.d/postgresql stop && sudo /etc/init.d/postgresql start 9.3; fi"
- mysql -e "create database db_migrate_test;"
- createdb db_migrate_test
- cp test/db.config.ci test/db.config.json
- cp test/db.config.ci test/db.config.json
124 changes: 124 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,127 @@
<a name="0.11.1"></a>
## [0.11.1](https://github.com/db-migrate/node-db-migrate/compare/v0.11.0...v0.11.1) (2018-04-10)


### Bug Fixes

* **reset:** regression introduced in check functionality ([d8a735d](https://github.com/db-migrate/node-db-migrate/commit/d8a735d)), closes [#552](https://github.com/db-migrate/node-db-migrate/issues/552)



<a name="0.11.0"></a>
# [0.11.0](https://github.com/db-migrate/node-db-migrate/compare/v0.10.7...v0.11.0) (2018-04-10)


### Features

* **check:** add check functionality to determine migrations to run ([93e9f18](https://github.com/db-migrate/node-db-migrate/commit/93e9f18))



<a name="0.10.7"></a>
## [0.10.7](https://github.com/db-migrate/node-db-migrate/compare/v0.10.6...v0.10.7) (2018-03-27)


### Bug Fixes

* **progamableApi:** cmdOptions get passed into setDefaultArgv now ([ebdd75d](https://github.com/db-migrate/node-db-migrate/commit/ebdd75d))



<a name="0.10.6"></a>
## [0.10.6](https://github.com/db-migrate/node-db-migrate/compare/v0.10.5...v0.10.6) (2018-03-21)


### Bug Fixes

* **ci:** add ignores for backported features ([53dedc2](https://github.com/db-migrate/node-db-migrate/commit/53dedc2))


### Features

* **contribution:** enrich contribution instructions ([93b5cea](https://github.com/db-migrate/node-db-migrate/commit/93b5cea)), closes [#549](https://github.com/db-migrate/node-db-migrate/issues/549)
* **contribution:** enrich contribution instructions, issues ([d87a734](https://github.com/db-migrate/node-db-migrate/commit/d87a734))
* **progamableApi:** CMD options can be passed programatically now ([69d7605](https://github.com/db-migrate/node-db-migrate/commit/69d7605))
* **progamableApi:** using const now ([a69e221](https://github.com/db-migrate/node-db-migrate/commit/a69e221))



<a name="0.10.4"></a>
## [0.10.4](https://github.com/db-migrate/node-db-migrate/compare/v0.10.3...v0.10.4) (2018-02-06)


### Bug Fixes

* **insert:** add missing insert entry to interface ([899b8bc](https://github.com/db-migrate/node-db-migrate/commit/899b8bc)), closes [#542](https://github.com/db-migrate/node-db-migrate/issues/542)



<a name="0.10.3"></a>
## [0.10.3](https://github.com/db-migrate/node-db-migrate/compare/v0.10.2...v0.10.3) (2018-02-03)


### Bug Fixes

* **db:** wrong reference to connect causes db:create to fail ([991ee76](https://github.com/db-migrate/node-db-migrate/commit/991ee76)), closes [#520](https://github.com/db-migrate/node-db-migrate/issues/520)
* **exitCode:** wrong check for existence fixed ([3c6fc33](https://github.com/db-migrate/node-db-migrate/commit/3c6fc33))
* **exitCode:** wrong exit code on db methods ([486cb78](https://github.com/db-migrate/node-db-migrate/commit/486cb78)), closes [#534](https://github.com/db-migrate/node-db-migrate/issues/534)
* **log:** error ended up in unreadable errors ([16512f6](https://github.com/db-migrate/node-db-migrate/commit/16512f6)), closes [#524](https://github.com/db-migrate/node-db-migrate/issues/524) [#521](https://github.com/db-migrate/node-db-migrate/issues/521)
* **switchDatabase:** no error was thrown on scope switch ([392d88c](https://github.com/db-migrate/node-db-migrate/commit/392d88c)), closes [#470](https://github.com/db-migrate/node-db-migrate/issues/470)


### Features

* **issuetemplate:** added a github issue template ([3c0fcbf](https://github.com/db-migrate/node-db-migrate/commit/3c0fcbf))



<a name="0.10.2"></a>
## [0.10.2](https://github.com/db-migrate/node-db-migrate/compare/v0.10.1...v0.10.2) (2017-12-01)


### Bug Fixes

* **log:** error ended up in unreadable errors ([97de65d](https://github.com/db-migrate/node-db-migrate/commit/97de65d)), closes [#524](https://github.com/db-migrate/node-db-migrate/issues/524) [#521](https://github.com/db-migrate/node-db-migrate/issues/521)



<a name="0.10.1"></a>
## [0.10.1](https://github.com/db-migrate/node-db-migrate/compare/v0.10.0...v0.10.1) (2017-11-27)


### Bug Fixes

* **db:** wrong reference to connect causes db:create to fail ([56cb75a](https://github.com/db-migrate/node-db-migrate/commit/56cb75a)), closes [#520](https://github.com/db-migrate/node-db-migrate/issues/520)

## 0.10.0

Note:

This is a cornerstone release. It provides groundwork for many things to come and has worked
on stability and flexibility, while mostly retaining backwards compatibility.

This release was a rewrite of nearly the whole module. However backwards compatibility
was mostly preeserved. Bug fixes wont be listed for this release, all subsequent releases
will follow the angular standard to automatically generate changelogs.

New Features:
- Sync
- Driverless Core
- Plugin Hooks and overwrites
- Adjusted migration schema, to allow specific setup routines
- Version migration schemas itself for future iterations
- Promise style migrations
- Programmatic API
- Restructered major parts of db-migrate
- Transactional migrations
- New configuration options

Find a full list of features added here:

https://github.com/db-migrate/node-db-migrate/issues?utf8=%E2%9C%93&q=milestone%3Av0.10.0

# Old Changelogs

## 0.1.0

New Features:
Expand Down
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
Loading