Ricardo Graça
9aa7085b05
Rename src directory to lib ( #3338 )
2019-07-10 23:48:43 +02:00
Igor Savin
e971c5198b
Update dependencies, fix new eslint errors ( #3339 )
2019-07-10 20:47:56 +02:00
Igor Savin
c431ffc35a
Drop support for Node.js 6. Remove babel. ( #3227 )
2019-06-04 00:37:17 +02:00
Pierre Voisin
0aacab50be
Fix for #2998 - Migrator & TypeScript ( #3041 )
...
* Fix `#listAllAndCompleted` not considering `loadExtensions` in migrator configuration (#2998 )
* Add unit test
* Fix linting
2019-03-09 23:39:55 +01:00
Igor Savin
b269e45842
Update dependencies ( #3085 )
...
* Update dependencies
* Fix linting errors
2019-03-04 01:40:35 +01:00
Henry Williams
2611e5a300
Fix linter errors in tests ( #2859 )
...
* fix lint errors for tests
2018-10-15 22:29:53 -04:00
Jake Ginnivan
bf1e384ed6
Introduced abstraction for getting migrations ( #2775 )
...
* Introduced abstraction for getting migrations
This would allow a webpack migration source which is compatible with bundling.
* Fixed migration validation with custom migration source
* Fixed issues after rebasing on muti directory PR
* Renamed parameter and fixed error message
* Addressed some PR comments
* Finished comment
* Moved filename extension filtering into fs-migrator
* Added test showing in memory custom migration source
* Cleaned up how to get config
* Fixed failing test
* Hopefully fix tests
* Fix Node.js 10 support in tests
2018-09-12 14:58:37 +03:00
Igor Savin
91f23bc02f
Feature/2690: Multiple migration directories ( #2735 )
...
* Implement support for multiple migration directories
* Add tests for new functionality
* Fix tape tests
* Pass migration directory upwards
* Fix multiple directory support
* Fix bugs
* Rollback correctly
* Fix remaining tests
* Address comments
2018-08-24 12:39:20 +03:00
Igor Savin
a01c35941a
Refactor migrator ( #2695 )
...
* Refactor migrator
* Fix exports
* Fix ESLint
* Fix migrator
* Fix reference to config
* Split some more
* Fix table builder
* Fix argument order
* Merge branch 'master' of https://github.com/tgriesser/knex into feature/2690-support-multiple-migration-dirs
# Conflicts:
# src/migrate/index.js
# test/index.js
# test/unit/migrate/migrator.js
2018-07-17 10:41:44 +03:00