-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preview Flagged Named Constraints (#2099)
* introduce NamedConstraints preview flag, add it to parser db, start reading id name/ map properties * cleanups, model level attributes done * @Index and @unique * first step of parsing of new attributes done * transfer db name * flesh out compatibility hack * test fixes * move legacy default name generation from sql schema calculator to parser * legacy name generation for indices moved * more index parsing logic * conditional index rendering * test cases for map on index * additional tests for indices * fix other positive test expectations * more (failing) tests * validations for length of db_name, validations for client name characters * transfer of test cases * add client name in use error * cleanups * investigate failing mssql test * activate more id tests * re-introspection and id positive tests * re-introspection of client names * preview flag reintrospection * lower id names * fix preview flags in introspection test api * only generate db names on connectors that support them * more tests, start parsing map argument for relations * dry up attributes code * more refactoring and notes * lower map argument for relation * test fixes * review feedback, validate and test against both map and name on index * cleanups, test for having fk map on wrong side * extra test cases for ids * more tests, ignore one relation test for now * moar tests * pass preview flags in introspection test api * reorganize some IE tests * disable named pk test on sqlite and mysql * introspection tests * test fixes on non-postgres * named foreign keys capability * sqlite fk handling * start adding more migrate tests, enable NamedForeignKey capability * start on migration engine * always add the datasource to the datamodel in schema_push * test fixes, schema push naming * create table constraint test * test fixes * test fix * postgres test fixes * more postgres tests fixed * cargo pedantic * Fixes for sqlite * do not diff fks on constraint name in legacy mode * mysql tests * do not rename pks unless on preview flagged * some more test fixes * some mssql test fixes * more test fixes * more test fixes * chugging along * remaining mssql tests * pedantic fixes * port QE changes * test fix * test named compounds in rust in the QE * persist PK client names in the dmmf * test fix * spell out free disk space in gh actions * also log usage at the end * remove unwanted packages and check the difference * try docker prune * increase postgres' shared memory * cleaning up disk didnt matter * remove build args for postgres * specify tmpfs size * increase size * 12 and 13 were sharing a disk * blow up size again * spelling * try lower size * try 3g * 4 it is then
- Loading branch information
Showing
128 changed files
with
5,516 additions
and
1,690 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
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.