Igor Savin
40cb7ce105
Minor cleanup around batch-insert ( #4676 )
2021-09-14 10:38:23 +03:00
Plaffont
b411d48248
Passing all arguments to _promise.catch function ( #4666 )
...
Co-authored-by: Pierre-Louis LAFFONT <pilou@plum-energie.com>
2021-09-06 18:03:36 +03:00
Matt Machuga
01cfa98c2c
Adding support for pg-native ( #4327 )
2021-09-06 16:04:23 +03:00
Jeremy W. Sherman
a9338208f1
fix(oracledb): withRecursive: omit invalid RECURSIVE keyword, include column list [ #4514 ] ( #4652 )
2021-09-03 22:27:32 +03:00
Jeremy W. Sherman
ce35bd6b64
fix(oracledb): Support setNullable, dropNullable ( #4659 )
2021-09-03 22:25:22 +03:00
michaelbrewerdavis
b5225179ce
fix migrate:up for migrations disabling transactions ( #4550 )
2021-08-31 23:05:35 +03:00
Pete Nykänen
49b05b5c71
Add support for mysql/mariadb-client JSON parameters in connectionURIs ( #4629 )
...
Signed-off-by: petetnt <pete.a.nykanen@gmail.com>
2021-08-30 20:19:08 +03:00
wolfcomp
4c79ac1fe6
Fix Analytic orderBy and partitionBy to follow the SQL documentation ( #4602 )
2021-08-30 20:17:16 +03:00
Igor Savin
8d75615524
Implement nullability modification via schema builder ( #4657 )
2021-08-28 20:41:54 +03:00
Nicola Krumschmidt
153d0fbd72
Fix adding a column with a foreign key constraint in SQLite ( #4649 )
2021-08-25 23:14:14 +03:00
Nicola Krumschmidt
00cbd00631
Clean up SQLite DDL handling and move all operations to the parser-based approach ( #4648 )
2021-08-25 17:30:44 +03:00
Jeremy W. Sherman
40576ce430
fix(mssql): Generate valid SQL for withRecursive() [ #4514 ] ( #4639 )
2021-08-25 09:36:43 +03:00
Thomas Hunter II
e469766689
adding .mjs migration and seed stubs ( #4631 )
2021-08-21 21:34:30 +03:00
Jeremy W. Sherman
5ac422410b
feat(mssql): Support comments as MS_Description properties ( #4632 )
2021-08-21 21:29:55 +03:00
Jeremy W. Sherman
52950c652b
fix(mssql): columnInfo() support case-sensitive database collations ( #4633 )
2021-08-21 21:26:54 +03:00
Maximilian-Albin Ekström
3a083d9b0e
fix: use sys info function instead of connection db name ( #4623 )
...
Co-authored-by: Maximilian-Albin Ekström <maximilian-albin.ekstrom@instabox.se>
2021-08-20 12:51:21 +03:00
Igor Savin
91bde6021d
Additional fixes for Oracle schema support ( #4596 )
2021-07-31 19:25:37 +03:00
Igor Savin
124107e0ec
Fix autoincrement for Oracle with schema ( #4594 )
2021-07-29 17:07:22 +03:00
zeotuan
45916f97ee
Add deferrable support for constraint ( #4584 )
2021-07-25 10:23:17 +03:00
Dave de Jong
8619d80336
Add mssql trustServerCertificate option. ( #4500 )
2021-07-21 01:29:53 +03:00
zeotuan
55eadcf7ad
Fixing posgres datetime and timestamp column created with wrong format ( #4578 )
2021-07-21 01:23:20 +03:00
Egor Koldasov
c335fda657
#873 | implement delete with join ( #4568 )
2021-07-13 09:41:16 +03:00
Vesa Peltola
f447b3b6eb
Add DPI error codes for Oracle ( #4536 )
2021-07-12 23:46:38 +03:00
Calvin Metcalf
f78c3618e2
add obility to omit collumns on an onConflict().ignore() ( #4557 )
2021-07-10 14:54:07 +03:00
Minh Son Nguyen
228b49f4af
[Typing] Add types for analytic functions ( #4544 )
2021-06-29 16:36:02 +03:00
Adam Love
234eddd2c0
Add .cjs extension to Seeder.js to support Node ESM ( #4381 ) ( #4382 )
2021-05-11 23:24:57 +03:00
Wigger Boelens
267ff3a28b
Add support for file open flags for sqlite3 ( #4446 )
2021-04-22 00:50:03 +03:00
Ardeshir81
6b420cebdf
Throw an error if negative offset is provided ( #4361 )
2021-03-25 11:30:25 +02:00
Jeremy W. Sherman
0d43c1cbb9
mssql: Improve estimate of max comment length ( #4362 )
2021-03-25 11:24:44 +02:00
martinmacko47
1744c8c265
Fix timeout method ( #4324 )
2021-03-22 01:33:59 +02:00
Rijk van Zanten
910c009870
Rework dropForeign to use new tokenized structure ( #4376 )
...
Fixes #4369
2021-03-15 22:45:28 +02:00
Kevin Brown
79be494ed0
Add same as operator for postgres. ( #4372 )
2021-03-13 10:33:44 +02:00
Thomas Schaaf
4f6391cb67
[TypeScript] Allow config.client to be non-client instance ( #4367 )
...
TypeScript makes it very hard to get typescript to correctly check the `instanceof Client` part of the statement.
See: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work
2021-03-12 00:16:41 +02:00
Santi Albo
548471de0a
fix TypeScript migration stub after 0.95.0 changes ( #4366 )
...
* fix TypeScript migration stub after 0.95.0 changes
Release 0.95.0 changed how types have to be imported when using TypeScript. This PR fixes the migration stub so new migrations are created correctly.
* Add test for Knex.AlterTableBuilder
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-03-11 19:58:00 +02:00
Jakub Jastrzębski
5d1f479593
fix: update ts.stub files to new TypeScript namespace ( #4344 )
2021-03-11 18:51:53 +02:00
Igor Savin
4ff3868140
Move QueryBuilder and KnexTimeoutError into knex namespace so that they are accessible at a runtime ( #4358 )
2021-03-08 23:18:49 +02:00
Matt Machuga
0ab482bcfb
Unify db test helpers ( #4356 )
2021-03-08 14:16:07 +02:00
Nicola Krumschmidt
ed0e8a53df
Fix SQLite not doing rollback when altering columns fails ( #4336 )
2021-03-03 20:50:45 +02:00
Nicola Krumschmidt
3e6176ac0c
SQLite parser improvements ( #4333 )
2021-03-03 00:42:43 +02:00
Thibaut Patel
a98614d55a
Made the constraint detection case-insensitive ( #4330 )
2021-03-02 21:52:10 +02:00
Nicola Krumschmidt
29b8a3623f
Adjust generateDdlCommands return type ( #4326 )
2021-03-01 19:11:16 +02:00
Daniel Hensby
d807832b3b
mssql: schema builder - attempt to drop default constraints when changing default value on columns ( #4321 )
2021-02-28 19:27:48 +02:00
Daniel Hensby
c0d8c5c247
mssql: schema builder - add predictable constraint names for default values ( #4319 )
2021-02-28 01:08:15 +02:00
Nicola Krumschmidt
5ec76f5509
Convert produced statements to objects before querying ( #4323 )
2021-02-27 23:01:21 +02:00
Nicola Krumschmidt
9e28a72aca
Add support for altering columns to SQLite ( #4322 )
2021-02-26 22:36:46 +02:00
Daniel Hensby
7db2d18877
fix mssql alter column must have its own query ( #4317 )
2021-02-25 19:34:22 +02:00
Tyler Watson
6c3e7b5afc
mssql: don't raise query-error twice ( #4314 )
2021-02-25 12:37:43 +02:00
Igor Savin
61e1046651
Avoid importing entire lodash to ensure tree-shaking is working correctly ( #4302 )
2021-02-18 12:29:03 +02:00
Tyler Watson
8c73417de6
events: introduce queryContext on query-error ( #4301 )
2021-02-18 12:23:12 +02:00
Tolterix
5614c18624
Timestamp UTC Standardization for Migrations ( #4245 )
...
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-02-15 19:27:41 +02:00