Lorefnon
452cbe8f35
Add support to transform raw SQL through user specified transformers
2020-02-23 11:17:36 +05:30
Jake Coffman
d50d00644c
oracledb: commit was a no-op causing race conditions ( #3668 )
...
The underlying issue was that query *always* committed, even during a transaction. The previous fix was to just disable commitAsync in a transaction but then that also disabled explicit commit calls. Instead, this fix disables query's commits during transactions so that explicit commits still work.
2020-02-16 20:26:13 +01:00
Brian Lauber
2c206a8fec
Fix: Knex CLI calls process.chdir() before opening Knexfile ( #3661 )
2020-02-13 08:58:33 +01:00
maximelkin
88d832cd36
replace Bluebird.timeout ( #3634 )
2020-02-12 21:42:15 +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
Mr D
65086025c0
#3751 : Esm interop flag ( #3616 )
2020-01-14 21:01:31 +01:00
yeonhoyoon
4a2fa3b6c9
Print help only when there are no arguments ( #3617 )
2020-01-14 20:58:28 +01:00
Jake Coffman
22558209d4
dispose Oracle connection on connection error ( #3611 )
...
Co-authored-by: abskmj <abskmj@gmail.com>
2020-01-05 18:47:32 +01:00
Igor Savin
80a2516734
Throw better error when trying to modify schema while using unsupported dialect ( #3609 )
2020-01-05 00:04:41 +01:00
Kabir Baidhya
2800e72d2f
Add tests for some of the string utility functions ( #3568 )
2020-01-04 22:59:41 +01:00
Jake Coffman
07997279b7
fix #3605 not releasing connection from pool on disconnect ( #3606 )
2020-01-04 22:56:14 +01:00
Igor Savin
4feefdf3d2
Enforce Unix (lf) line terminators ( #3598 )
2019-12-29 20:28:40 +01:00
Igor Savin
9b37c9480b
Return more information about empty updates ( #3597 )
2019-12-28 22:36:14 +01:00
Ahmed Ashour
a613fe23df
Fix some spelling mistakes ( #3572 )
2019-12-10 22:53:05 +01:00
MaliaGuerrero
03d6f063d5
Initialize data to buffer instead of string for non-strings ( #3545 )
2019-11-21 19:46:45 +01:00
Lorefnon
79ccb7d8bd
Lift up dialect specific methods in the CreateTableBuilder ( #3532 )
2019-11-21 15:22:29 +01:00
Andrei
07276bcbbb
Add connection string qs to connection params ( #3547 )
2019-11-21 15:21:51 +01:00
Alexandre BODIN
0214f11663
Make sqlite3 hasColumn case insensitive ( #3435 )
2019-11-14 19:31:59 +01:00
Lorefnon
f87b28c3e3
Add support for distinct on for postgres ( #3513 )
...
Resolves #3472
2019-11-11 00:51:47 +01:00
Edvard Chen
0560959fa4
feat: wrap subQuery with parenthesis when it appears as table name ( #3496 )
2019-10-28 21:38:01 +01:00
Oran Epelbaum
f4b6848594
Dynamic connection configuration resolution ( #3497 )
2019-10-27 16:14:18 +01:00
Igor Savin
1c65562440
Prepare 0.20.0 release
2019-10-25 20:17:26 +02:00
EthanHur
2d0459111d
orderBy accepts QueryBuilder ( #3491 )
2019-10-24 16:08:12 +02:00
EthanHur
c53227564d
add validation in .offset()
( #2908 )
2019-10-15 13:24:49 +02:00
maximelkin
531714804b
Use util.promisify instead of Bluebird.promisify ( #3470 )
2019-10-15 09:11:59 +02:00
maximelkin
c9e305760d
Fix oracledb driver v4 support ( #3480 )
2019-10-15 08:23:07 +02:00
Lorefnon
b0c0db601a
Fix some issues around seed and migration generation ( #3479 )
2019-10-13 13:19:53 +02:00
Nekrasov Ilya
6b9fb0ec01
disable_migrations_list_validation_feature ( #3448 )
2019-10-12 21:45:39 +02:00
maximelkin
4a71315e9c
remove bluebird.each ( #3471 )
2019-10-12 21:39:34 +02:00
Lorefnon
20bd04b594
Fix bugs in replacement logic used when dropping columns in SQLite. ( #3476 )
2019-10-11 22:38:01 +02:00
maximelkin
f56eaf5cfc
Bluebird remove map mapSeries ( #3474 )
2019-10-11 10:12:56 +02:00
EthanHur
f782348da7
replace Bluebird.map to Promise.all ( #3469 )
2019-10-09 14:39:45 +02:00
Igor Savin
e112a21597
Remove unneeded logging
2019-10-06 23:23:38 +02:00
Taras Ozarko
78a7e9aa4f
fix CLI tests fails caused by PR #3416 ( #3466 )
2019-10-06 23:18:56 +02:00
Igor Savin
988fb24389
Fix MSSQL escaping ( #3382 )
2019-10-06 20:21:32 +02:00
Igor Savin
516b074790
Enable linting in CI ( #3450 )
2019-10-06 20:20:46 +02:00
Roland Németh
c1d20270d6
Fix handling of multiline SQL in SQLite3 schema ( #3411 )
2019-10-06 18:27:52 +02:00
Igor Savin
53d8649ef3
Update test to accommodate for increased precision in PG 12 ( #3465 )
2019-10-06 18:23:00 +02:00
Taras Ozarko
7fabae9f56
Migrations up/down commands: filename parameter ( #3416 )
2019-10-06 18:00:04 +02:00
Tim Hibbard
68e1ae2aed
Support stored procedures in Oracle
2019-09-22 22:31:56 +02:00
Martti Laine
5417cacdb1
Fix for concurrent child transactions failing ( #2213 ) ( #3440 )
...
* Fix for concurrent child transactions failing (#2213 )
* Skip new sibling transaction test for mssql
* Update test to ensure Promise resolve order
2019-09-20 14:37:58 +02:00
Kristjan
4ade98980e
feat: add undefined columns to undefined binding(s) error ( #3425 )
2019-09-04 22:59:04 +02:00
Ben Darnell
8f40f8d534
migrate: Refactor _lockMigrations to avoid forUpdate ( #3395 )
2019-08-28 13:27:18 +02:00
Taras Ozarko
d6426d75e1
Add ability to manually define schema for enu with useNative ( #3307 ) ( #3413 )
2019-08-25 23:07:30 +02:00
Ihor Sakaylyuk
1ef1a4ef07
Fix native enum with specified schema ( #3307 ) ( #3400 )
2019-08-24 17:37:29 +02:00
Vithalreddy.M.B
658e612148
knex cli list all migrations with status ( #3390 ) ( #3409 )
2019-08-24 12:01:12 +02:00
Harminder Virk
831b9bcc43
fix: make transaction rejection consistent across dialects ( #3399 )
2019-08-17 13:01:03 +02:00
Igor Savin
871dadb348
More consistent handling of nested transactions ( #3393 )
2019-08-16 16:28:25 +02:00
Ricardo Maes
18632edfc6
Fix broken noWait test ( #3398 )
2019-08-16 07:29:24 +02:00