This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 867
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Database Introspection Improvements (#4031)
* CLI/Introspection & Datamodel: * Remove force-renaming of ID field for V2 * Always rank ID field on top, except when given otherwise in reference model. * CLI/Datamodel: Prettier index directive rendering. * CLI/Datamodel: * Render booleans without quotes * Indices uniqe default false * Adjust all impacted unit tests. * CLI/Datamodel: Sequences and index types are now first level citizens. * CLI/Introspection: Sequence support. CLI/Datamodel: Unified interface. * CLI/Introspection: Enabled End to End tests with postgres, mysql. * CLI/Introspection: Postgres tests for DML v2, added CMS datamodel (for testing sequences) * CLI/Introspection: Enabled all unit tests for mysql. * CLI/Introspection: Re-Enabled mongo tests. * CLI/Introspection: Fallback for finding ID field. Fixed broken cardinality on back relations. * CLI/Introspection: Don't hide link tables which are not made by prisma. CLI/Datamodel: isLinkTable is now a first-level citizen. * CLI: Mitigated breaking API changes.
- Loading branch information
1 parent
600b8e6
commit 27fcf5b
Showing
75 changed files
with
15,933 additions
and
3,593 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.