37 Commits

Author SHA1 Message Date
Igor Savin
c3655ef5af
Update colorette (#4702) 2021-10-03 22:08:02 +03:00
Igor Savin
91bde6021d
Additional fixes for Oracle schema support (#4596) 2021-07-31 19:25:37 +03:00
Igor Savin
9e0bb88e37
Update commander (#4240) 2021-01-17 20:28:39 +02:00
Igor Savin
2aec21ed5e
Try to introduce some organization into how files are grouped (#4178) 2020-12-28 16:55:08 +02:00
Emil Wihlander
b099852032
fix help text being printed twice (#4072) (#4082)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2020-10-29 23:41:59 +02:00
Jamie Peabody
162cf2ebcf
Fixes build issue related to Node.js 14 (#4078)
Co-authored-by: Jamie Peabody <jpeabody@axway.com>
2020-10-24 16:54:45 +03:00
Mr D
be8a5715a3
Expected error message changed, Node v14.13.0 changed parsing error wording (#4055)
Co-authored-by: D10221 <daniel@BLINK-DEV-ONE.localdomain>
2020-10-01 10:04:58 +03:00
Christiano Marques
a481dde82c
feat: new config parameter / CLI flag to prefixing seed filename with a timestamp (#3873) 2020-09-19 16:11:05 +03:00
Florent SCHILDKNECHT
2bf17e0509
fix(seed): throw error when specific seed file cannot be found (#4011)
fixes #4005
2020-09-04 09:48:18 +03:00
Mr D
95e0593440
Test/document esm interop mixed formats (knexfile/migrations/seeds) (#3986) 2020-08-17 16:38:37 +02:00
Mr D
369bbd6293
Improve Esm interop (#3985)
refs #3978
2020-08-16 19:22:26 +03:00
Mr D
907cc763f6
#3978 Improve mjs module support (#3980) 2020-08-15 17:54:43 +03:00
Mathieu DARTIGUES
f3c73ccd58
Add new option for seed : recursive (#3974) 2020-08-10 15:10:37 +02:00
Mr D
cfce685775
ESM module interop fails if calling module/package is of type 'module' #3937 (#3938) 2020-08-08 17:39:57 +03:00
Mathieu DARTIGUES
ab7644425d
Support multiple directories for seeds (#3967) 2020-08-08 15:21:43 +03:00
Casey Foster
3677e547a9
Fix migration source name in rollback all (#3956) 2020-08-07 18:53:59 +03:00
Igor Savin
c0afe14cde
Warn user if custom migration source is being reset (#3839) 2020-05-06 00:13:09 +02:00
Igor Savin
38f54ce8f0
Refactor migration logic to use async/await. Add test case for using classes with custom migration sources (#3838) 2020-05-05 19:10:50 +02:00
Zach McElrath
b626702b47
Add migrate:unlock command, truncate on forceFreeMigrationsLock (#3822) 2020-04-23 21:51:32 +02:00
Lorefnon
7b4d208bae
Fix inferrence of seed/migration extension from knexfile extension (#3814)
Current implementation doesn't work when knexfile has multiple env-specific configuration sections.

Resolves #3807
2020-04-20 01:19:15 +02:00
Igor Savin
e37aeaa31c
Prepare for 0.21.0 release (#3811) 2020-04-19 00:40:23 +02:00
Florent Vilmart
41d02ba5c1
CLI: adds support for asynchronous knexfile loading (#3748) 2020-03-24 17:07:05 +01:00
Kabir Baidhya
a7031c3cef
Upgrade package mkdirp and improve it's usage (#3741) 2020-03-21 11:01:10 +01:00
Brian Lauber
2c206a8fec
Fix: Knex CLI calls process.chdir() before opening Knexfile (#3661) 2020-02-13 08:58:33 +01:00
Brian Lauber
947273e24a
Improve Support for Liftoff's Preloaders (#3613) 2020-02-08 17:23:44 +01:00
Igor Savin
c14252d907
Refactor more tests to use cli-testlab (#3640) 2020-01-28 02:28:40 +01:00
yeonhoyoon
4a2fa3b6c9 Print help only when there are no arguments (#3617) 2020-01-14 20:58:28 +01:00
Igor Savin
1c65562440 Prepare 0.20.0 release 2019-10-25 20:17:26 +02:00
Lorefnon
b0c0db601a Fix some issues around seed and migration generation (#3479) 2019-10-13 13:19:53 +02:00
Bohdan Shulha
c6481e8c97 fix: Respect the knexfile stub option while generating a migration (#3337) 2019-07-10 21:45:47 +02:00
Vamp
2b6333249a CLI: add --stub option to migration:make (#3316) 2019-07-04 22:08:01 +02:00
Ihor Sakaylyuk
0a85331525 CLI: Fix empty --version output (#3312) 2019-06-30 18:23:50 +02:00
Igor Savin
858c7b6f1e
Fix extension resolution from env configs (#3294) 2019-06-19 01:33:16 +02:00
Igor Savin
04b12f234b
Use extension from knexfile for generating migrations unless overriden (#3282) 2019-06-14 08:44:02 +02:00
Chris Allen
a65a95bc67 Use migrations.extension from config when generating migration (#3242) 2019-06-13 23:32:03 +02:00
Igor Savin
5eaac66ea5
Merge 0.17 into master (#3277) 2019-06-11 02:05:31 +02:00
Igor Savin
f34013be5f
Use cli-testlab for testing CLI (#3191)
* Bump version to 0.16.4

* Use cli-testlab for testing CLI
2019-05-13 13:39:02 +02:00