* Align signature for PG datetime and timestamp methods with documentation. Add precision support
* Remove redundant method
* Add upgrade note for the change
* Changes after code review
* Improve API
* Fix knexfile resolution. Add missing test
* Try fixing Jake test execution
* Avoid having non-test files in jake folder
* Fix test compatibility with Node 6
* Fix the fix
* Specify jakefile explicitly to ensure it being run. Do not require client when creating seeds or migrations. cli.js cleanup. Formatting
* Fix message
* Fix typo
* Ignore console rule in CLI tests
* Fix rimraf import
* Improvements after code review
* One more arrow function
* Fix migration test assertions
* Report failing migration instead of latest migration
Migrator._activeMigration needs to be set twice: once when loading the
migration, and again when running it.
* Update table column .enu to take an option that does not manually create the type
* Add tests for psql enum existingType
* Avoid utilizing enum values when using an existing type
* Migrations with CLI and without knexfile
Allows to create and run migrations.
closes#2819
* Apply tweaks to migrate without knexfile
Thanks to @kibertoad comments!
The bigger change was to remove the bash script to test knex's cli command, and replace it with a jake file. I believe this jake file may be used as a base for future cli tests.
* Replace `fs.promises` with `new Promise`
* Pass migration config object as an argument to the migrations themselves, to allow custom parameters to be set for migrations. (#2014)
* Run prettier
* Remove unneeded change
* Remove more unneeded changes
* Fix Node 10 support
* Update documentation based on a new design
* Restore test execution (oops)
* Fix withUserParams method
* Fix knex instance cloning
* Remove unused import
* Fix reference to knex from migrator
* Do not lose user params on transactions
* Remove unneeded require
* Address review comments
* Fix setting event emitter and listeners on Knex copies. Use knex copies to run tests in CI
* Remove knex cloning
* Fix event listener leak
* Remove Node.js 7 from Travis configuration. Minor dependency updates
* Add support for named unique, primary and foreign keys to SQLite3
* Add integration testing for named keys
* Improve tests for primary and unique keys
* Improve tests for foreign keys
* Run prettier
* Fix tests
* Fix additional test
* Removed Raw->Formatter->Raw circular dependency
This was cause due to the backwards compatibility feature for client-less raw()
* Removed circular dependency between helpers<->compilers
What they really need is a common interface, and perhaps a base class