Commit Graph

219 Commits

Author SHA1 Message Date
rijkvanzanten
eba2576227 v9.6.0 2022-03-04 20:25:43 -05:00
rijkvanzanten
47a5da78fb v9.5.2 2022-02-18 11:45:07 -05:00
rijkvanzanten
c0c412d30b v9.5.1 2022-02-03 20:41:49 -05:00
Rijk van Zanten
c01f507696 Use correct import for crdb dialect from schema-inspector (#11269)
Fixes #11266
2022-01-25 15:08:20 -05:00
Rijk van Zanten
bac787aeed Fix PG10 support in knex-schema-inspector (#11268) 2022-01-25 19:51:26 +00:00
rijkvanzanten
78a25fe953 v9.5.0 2022-01-24 15:53:29 -05:00
Rijk van Zanten
47f71bd60b Update knex-schema-inspector (#11238) 2022-01-24 12:05:54 -05:00
Rijk van Zanten
973e2dc6bb Update knex-schema-inspector (#11203) 2022-01-21 09:38:27 -05:00
Rijk van Zanten
88c87f3920 Set CRDB options to avoid inconsistencies between vendors (#11193)
* Set correct CRDB options

* Add missing SETs to pool config for e2e

* How about now

* Better solution for the same problem
2022-01-20 20:18:22 -05:00
Michael Schramm
75b5f33727 Implement CockroachDB support (#10113)
* base changes for cockroachdb

* allow creating of tables

* allow deleting of fields

* allow deleting of tables

* rebase

* fix migrations

* bump knex-schema-inspector to 1.7.0

* Update package-lock

* Add cockroach to debugging docker-compose file

* Remove unused import

* Tweak name in example.env

* Force nullable primary keys in cockroach

* Tweak shares migration to run on cockroach

* Rename var for clarification

* suggestion for migration helper

* change to schema and update remaining migrations

* Remove custom cockroach schema in favor of sharing with pg

* Fix migrations for CockroachDB

* Hopefully fix Oracle migrations 🤞🏻

* Make ~~aiden~~ oracle happy

* Resolve branching paths in migrations

* Enable tests for cockroach

* Fix test config

* One more config change for good measure

* Adjust test to match cockroach's bigint auto-int structure

* Increase request timeout for mssql

* Update api/src/database/helpers/schema/types.ts

Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Oreille <33065839+Oreilles@users.noreply.github.com>
Co-authored-by: Aiden Foxx <aiden.foxx.mail@gmail.com>
2022-01-20 14:14:38 -05:00
rijkvanzanten
65bfe68b0c v9.4.3 2022-01-07 16:11:24 -05:00
rijkvanzanten
1a5a9180ee v9.4.2 2021-12-30 21:11:32 -05:00
rijkvanzanten
4991ba858b v9.4.1 2021-12-28 20:17:21 -05:00
rijkvanzanten
a47b9cec0f v9.4.0 2021-12-23 22:46:18 -05:00
rijkvanzanten
4b444baf5b v9.3.0 2021-12-16 18:48:10 -05:00
rijkvanzanten
546d525175 v9.2.2 2021-12-10 15:53:08 -05:00
rijkvanzanten
1d4e9c425c v9.2.1 2021-12-06 14:31:01 -05:00
rijkvanzanten
776c105aac v9.2.0 2021-12-03 16:16:38 -05:00
Oreille
525e2548b4 Fix compatibility with Postgres <= 10 (#10139)
* Use indnatts instead of indnkeyatts in postgres dialect

* Update knex-schema-inspector

* Add PG10 for debugging

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-01 20:36:46 +00:00
Oreille
94985d547a Fix MySQL tinyint(1) not being treated as boolean (#10083) 2021-12-01 14:01:48 -05:00
Aiden Foxx
c2f3442697 Cleaned up Oracle duplicate index handling (#10151)
* Update oracledb.ts

* Update packages/schema/src/dialects/oracledb.ts

* Update packages/schema/src/dialects/oracledb.ts
2021-12-01 13:58:37 -05:00
rijkvanzanten
9bf033c18d v9.1.2 2021-11-25 12:36:24 -05:00
Nitwel
b3c8941645 fix mysql duplicates (#10057) 2021-11-25 16:50:19 +00:00
rijkvanzanten
5d3a630fe6 v9.1.1 2021-11-24 21:09:22 -05:00
rijkvanzanten
7a1c534b36 v9.1.0 2021-11-24 17:56:26 -05:00
Aiden Foxx
f19a549a1b Handle composite primary keys (#9822)
* Handle composite keys in Oracle

* Handle composite primary keys in PostgreSQL

* Handle composite primary keys in SQL Server

* Handle composite primary keys in SQLite

* Added Oracle performance notice

* Handle composite primary keys in MySQL

* Make the linter happy

Co-authored-by: Oreilles <oreilles.github@nitoref.io>
2021-11-24 16:10:34 -05:00
renovate[bot]
241dc13c65 Update NPM dependencies (non-major) (#9968)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 10:05:40 -05:00
rijkvanzanten
ba72d2cfd0 v9.0.1 2021-11-11 16:45:31 -05:00
Aiden Foxx
cbe87299c7 Exclude hidden oracle columns (#9677) 2021-11-10 10:31:43 -05:00
rijkvanzanten
c95add08ef v9.0.0 2021-11-04 22:03:10 -04:00
Oreille
5f43b20ebf Update geometric types and patch new field flow. (#9397)
* Update geometric types and patch new field flow.

* Add migration

* Fixed migrations

* Also fixed migrations

* Update migration ID

* Cleanup type selector a bit

* Add missing fallback interface/display for new types

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-11-04 21:47:54 -04:00
rijkvanzanten
37cf80e0fe v9.0.0-rc.101 2021-11-03 19:29:41 -04:00
Nicola Krumschmidt
69d893123e Add exports fields to all packages (#9443) 2021-11-03 18:59:45 -04:00
Aiden Foxx
b834bf88a7 Update Oracle to support is_generated (#9310) 2021-11-01 16:04:41 +00:00
Oreille
e316948e5f Removed invalid column in mssql schema inspector (#9260) 2021-10-30 15:24:43 -04:00
rijkvanzanten
7e1034d9d4 v9.0.0-rc.100 2021-10-29 14:40:05 -04:00
Oreille
8df071a3a2 Fix generated columns being required. (#9200)
* Fix generated columns being required. Also prevent schema changes on generated columns.

* Fix type errors

* Disable `unique` and `nullable` instead of not showing them.

* Fix other type error

* Nullable check small refactor

* Fixed MSSQL query

* Fixed oracle query
2021-10-29 12:24:21 -04:00
renovate[bot]
f62675213d Update dependency knex-schema-inspector to v1.6.4 (#9159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 21:20:22 +00:00
rijkvanzanten
7c88f03884 v9.0.0-rc.99 2021-10-21 19:52:37 -04:00
Rijk van Zanten
3a85287237 Revert "Update dependency knex-schema-inspector to v1.6.3 (#9015)" (#9036)
This reverts commit a234198110.
2021-10-21 19:48:54 -04:00
renovate[bot]
a234198110 Update dependency knex-schema-inspector to v1.6.3 (#9015)
* Update dependency knex-schema-inspector to v1.6.3

* Update package-lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-21 12:47:36 -04:00
rijkvanzanten
0dd0e1b1c1 v9.0.0-rc.98 2021-10-15 20:13:07 -04:00
rijkvanzanten
392d8bd1df v9.0.0-rc.97 2021-10-14 21:47:50 -04:00
renovate[bot]
2429d30917 Update dependency typescript to v4.4.4 (#8749)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:51:36 -04:00
rijkvanzanten
435cc0cc67 v9.0.0-rc.96 2021-10-07 18:39:54 -04:00
rijkvanzanten
afe7b15990 v9.0.0-rc.95 2021-09-27 18:58:22 -04:00
José Varela
3124f5387d Fix getSchema while trx on postgres (#8335)
* Fix getSchema while trx on postgres

* Only attempt to read geometry types when PostGIS is enabled

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-09-27 16:35:01 -04:00
renovate[bot]
c3253edced Update dependency knex-schema-inspector to v1.6.2 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 13:19:52 -04:00
rijkvanzanten
7e41860cbf v9.0.0-rc.94 2021-09-22 15:53:24 -04:00
renovate[bot]
e465d3a10b Update dependency knex-schema-inspector to v1.6.1 (#8221)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 18:02:04 -04:00