2863 Commits

Author SHA1 Message Date
Olivier Cavadenti
600d3c3755
Fix orWhereJsonPath clause (#5022) 2022-02-13 15:11:39 +01:00
Igor Savin
e64e37bb39 Prepare to release 1.0.3 1.0.3 2022-02-11 00:34:56 +02:00
Daniel Lockyer
affb883960
Fixed primary keys being created separately on MySQL (#5017) 2022-02-10 19:06:23 +02:00
Olivier Cavadenti
47b96344c2
Fix delete joins with PostgreSQL (#5016) 2022-02-09 23:01:43 +01:00
tramplay
9f4db5ee22
Use async / await syntax in seeds as default (#5005) 2022-02-09 01:06:49 +02:00
stvsh
1461b9b06a
Fix whereJsonPath queries for postgres and cockroachdb (#5011)
Co-authored-by: Jacek Starz <jacek.starz@antsolutions.eu>
2022-02-08 20:15:38 +01:00
John Hiesey
d956aecc23
Add withMaterialized and withNotMaterialized to method-constants (#5009) 2022-02-07 23:18:35 +01:00
Tomáš Dvořák
e7a787cd59
docs: Add Firebird dialect to ECOSYSTEM.md (#5003) 2022-02-05 20:25:24 +02:00
Aaron Greene
71fd863664
Fix type definition for getMigration in MigrationSource (#4998) 2022-02-03 19:30:32 +01:00
Rafael Almeida
a31129be79
Fix argument type of alter method (#4996) 2022-02-02 09:18:49 +01:00
Igor Savin
8fd1f22d2e
Prepare to release 1.0.2 (#4993) 2022-02-02 00:04:52 +02:00
TJ (Thomas J.) Biddle
c4a3abc42d
Do not use sys.tables to find if a table exists (#2328)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 14:54:46 +01:00
David Straub
81d6ffad4a
Fix collation when renaming column in MySQL dialect (#2666)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 15:00:05 +02:00
Olivier Cavadenti
ffb60191db
Fix Order nulls in PostgreSQL (#4989) 2022-02-01 10:24:48 +01:00
Olivier Cavadenti
2986f8c1c0
Support string json in json values (#4988) 2022-02-01 00:01:57 +02:00
Mitch Jacovetty
f9f6a38a28
Same boolean handling in better-sqlite3 as in sqlite3 (#4982)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-02-01 00:01:00 +02:00
gzq
f50554b4c4
feat: add order and type for uuidtobin and binToUuid (#4969) 2022-01-28 18:34:38 +01:00
Shaun Sharples
4f0f0ab3e0
move deferrable to after on update/on delete (#4976)
Thank you!
2022-01-28 12:34:26 +02:00
Olivier Cavadenti
2e1016e662
Add alterType and update index.d.ts for alter function (#4967)
Co-authored-by: intech <ru31337@gmail.com>
2022-01-27 13:34:23 +01:00
Lucas Silva
2467db18e9
adding with clause in mysql dialect (#4508)
Co-authored-by: Lucas Silva <lucas.silva@codeminer42.com>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-25 20:05:19 +01:00
Igor N. Dultsev
3ee6d0f022
Alter nullable constraint when alterNullable is set to true (#4730) 2022-01-24 20:22:04 +01:00
Olivier Cavadenti
6ee3f94d1a
Add raw support in onConflict clause (#4960) 2022-01-22 14:31:51 +01:00
Olivier Cavadenti
63980987a6
Support of MATERIALIZED and NOT MATERIALIZED with WITH/CTE (#4940) 2022-01-20 22:54:03 +01:00
KarolBialyKainos
22f9544356
WhereILike - Fix typo in types (#4941) 2022-01-19 09:10:06 +01:00
Victor Pontis
e171d61dad
Fix error message for missing migration files (#4937) 2022-01-17 10:56:15 +02:00
Igor Savin
a6d26ad1aa Prepare to release 1.0.1 (fixed metadata) 1.0.1 2022-01-16 02:54:18 +02:00
Igor Savin
2c176cd6a3 Prepare to release 1.0.1 (fixed metadata) 2022-01-16 02:53:47 +02:00
Igor Savin
e447dc1283 Fix Node.js version in readme 1.0.0 2022-01-16 02:47:09 +02:00
Igor Savin
ccd0f59da4 Prepare to release 1.0.0 2022-01-16 02:45:29 +02:00
dependabot[bot]
05d5c35099
Bump actions/setup-node from 2.4.1 to 2.5.1 (#4914)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.4.1...v2.5.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-16 02:24:55 +02:00
Igor Savin
4a0d82f2be
Fix tests for RETURNING and enable them for SQLite. (#4934) 2022-01-16 02:20:52 +02:00
Igor Savin
622b751915
Fix TS type incompatible with TS 4.6 (#4933) 2022-01-14 22:34:27 +02:00
Beeno Tung
5e6b3c2d6a
remove outdated warning message (#4928)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-14 22:19:31 +02:00
Rafael Perches Pierri
dec8438ed8
Change skip tests (#4930)
Co-authored-by: Pedro Ramos <pedroramos.contato@outlook.com>
Co-authored-by: Igor Savin <iselwin@gmail.com>
Co-authored-by: Pedro Ramos <pedroramos.contato@outlook.com>
2022-01-14 22:03:32 +02:00
Marek Brenčič
3f0ec9f84e
Fix for createViewOrReplace and its support for sqlite3 (#4856)
Co-authored-by: Marek "foxie" Brenčič <marek@brencic.sk>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-14 11:15:03 +02:00
Lucas Silva
b42bc468a0
Inconsistencies between .select and .returning (#4471)
Co-authored-by: Lucas Silva <lucas.silva@codeminer42.com>
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-01-14 00:05:52 +02:00
Pedro Ramos
40eef5c634
Enable wrapIdentifier for SQLite .hasTable (#4915) 2022-01-10 21:10:32 +01:00
Nicola Krumschmidt
4c589a3bfa
Fix executing sqlite ddl comands when the table name is a substring of "CREATE TABLE" (#4923) 2022-01-06 23:40:14 +02:00
Olivier Cavadenti
4494113187
Checks Constraints Support (#4874)
Co-authored-by: Ivan Zhuravlev <intech@users.noreply.github.com>
2022-01-06 14:44:16 +01:00
Olivier Cavadenti
b6775d9b00
Create multiple PKs with increments (#4903) 2022-01-03 20:55:24 +01:00
tharrison4815
452104066b
Add type to typescript knexfile (#4909) 2021-12-30 23:46:22 +02:00
Olivier Cavadenti
8835d22652
Json advanced support (#4859) 2021-12-22 10:47:16 +01:00
Nicola Krumschmidt
e2a425e4e3
Revert "Fix SQLite not doing rollback when altering columns fails (#4336)" (#4896) 2021-12-15 20:49:53 +02:00
Ferris
bb7de096dc
Add CI support for Oracle 18c (resolves #4888) (#4889)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2021-12-15 14:57:23 +02:00
dependabot[bot]
5a41149217
Bump debug from 4.3.2 to 4.3.3 (#4861) 2021-12-15 09:30:07 +01:00
dependabot[bot]
a7a08dbf56
Bump typescript from 4.4.4 to 4.5.4 (#4893) 2021-12-14 12:39:48 +01:00
Nicola Krumschmidt
157e27d0e3
Fix SQLite foreign key constraints when altering a table (#4189) 2021-12-13 19:59:01 +01:00
Marat Levit
b612cdc0b1
Added support for MSSQL unique constraint (#4887) 2021-12-13 10:41:46 +01:00
Olivier Cavadenti
2763e47129
Add camel case to timestamps method (#4803) 2021-12-09 15:24:32 +01:00
Jonas Kugelmann
786c95f374
Fix #4228 Improved columnInfo type (#4868) 2021-12-09 16:24:00 +02:00