Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(client): add relationMode datasource property tests for all databases #14221

Merged
merged 141 commits into from
Oct 13, 2022

Commits on Jul 8, 2022

  1. test(client): prototype referential integrity tests

    Related: #10806
    
    Test Suites: 1 failed, 1 total
    Tests:       3 failed, 45 passed, 48 total
    Snapshots:   0 total
    Time:        9.838 s
    Jolg42 committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    6b7f842 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    7413888 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2022

  1. wip rewrite with Alberto

    Jolg42 committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    bd0a3c3 View commit details
    Browse the repository at this point in the history
  2. chore: update tests

    jkomyno committed Jul 12, 2022
    Configuration menu
    Copy the full SHA
    47a31d7 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2022

  1. Configuration menu
    Copy the full SHA
    9987b3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3c53d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9a7d94 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    400208b View commit details
    Browse the repository at this point in the history
  5. wip

    reorg with describe
    revert matrix and schema changes
    beforeEach check and create users with profiles
    Jolg42 committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    a03044a View commit details
    Browse the repository at this point in the history
  6. fix referentialIntegrityLine

    Jolg42 committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    db89457 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    18e085f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8e7b569 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2022

  1. Configuration menu
    Copy the full SHA
    d6f9a5c View commit details
    Browse the repository at this point in the history
  2. chore: added TODO comment

    jkomyno committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    8f7fd82 View commit details
    Browse the repository at this point in the history
  3. WIP m:n for SQL databases

    Jolg42 committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    8b9c18e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ebdb7bf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e40dbc4 View commit details
    Browse the repository at this point in the history
  6. ci: fix os matrix

    Jolg42 committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    38dd949 View commit details
    Browse the repository at this point in the history
  7. ci: small CI env var tweak

    Jolg42 committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    6d26708 View commit details
    Browse the repository at this point in the history
  8. ci: fix bash line

    Jolg42 committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    030cfbf View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9f27286 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c0ce6bf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    39ec0d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. merge main

    Jolg42 committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    6f65b7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5556a6c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    550df4c View commit details
    Browse the repository at this point in the history
  4. add mongodb tests for m:n

    Jolg42 committed Jul 15, 2022
    Configuration menu
    Copy the full SHA
    263997c View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2022

  1. Configuration menu
    Copy the full SHA
    1bffa29 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8aecb4 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. chore: fixed bug with DEFAULT not tested, added upsert test, fixed so…

    …me conditional errors, found panic on SQLServer with SetDefault
    jkomyno committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    dfc5153 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2022

  1. Configuration menu
    Copy the full SHA
    3c2e5a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8fcb62 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6354160 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'joel/referential-integrity' of https://github.com/prism…

    …a/prisma into joel/referential-integrity
    jkomyno committed Jul 20, 2022
    Configuration menu
    Copy the full SHA
    06ed9dd View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2022

  1. chore: reproduced issue #14271

    jkomyno committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    a9a15b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c6fc48 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2022

  1. Configuration menu
    Copy the full SHA
    6ae6a66 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. add enabled Boolean? on 1-to-n

    It's a reproduction of #13766
    Jolg42 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    4803cad View commit details
    Browse the repository at this point in the history
  2. m:n add comments where RI=prisma - Cascade resolves instead of failin…

    …g in update and create
    Jolg42 committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    29550e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    915f7b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1988358 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    eecc9a3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    793c021 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'joel/referential-integrity' of https://github.com/prism…

    …a/prisma into joel/referential-integrity
    jkomyno committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    f94489e View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2022

  1. add comments to m:n

    [skip ci]
    Jolg42 committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    5c4fc12 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2022

  1. Configuration menu
    Copy the full SHA
    da94f53 View commit details
    Browse the repository at this point in the history
  2. full database matrix for CI

    Jolg42 committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    2d51b76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    829a6cd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b270af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5086251 View commit details
    Browse the repository at this point in the history
  6. chore: moved ref integrity utils to its own folder. Added builder pat…

    …tern to conditional error. Added matrix generation. Extracted self-contained utilities out of _schema.ts file.
    jkomyno committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    94cc536 View commit details
    Browse the repository at this point in the history
  7. chore: added sqlite support and referentialIntegrity=prisma snapshots…

    … to 1:1 and 1:n relations
    jkomyno committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    6e8acc9 View commit details
    Browse the repository at this point in the history
  8. chore: pnpm-lock

    jkomyno committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    3367c92 View commit details
    Browse the repository at this point in the history
  9. chore: merge upstream

    jkomyno committed Aug 1, 2022
    Configuration menu
    Copy the full SHA
    0024f61 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. Configuration menu
    Copy the full SHA
    1a3a59f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    162915f View commit details
    Browse the repository at this point in the history
  3. clean and add sqlite on m to n

    Jolg42 authored and jkomyno committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    cab95b6 View commit details
    Browse the repository at this point in the history
  4. m to n add RI=Prisma messages as comments + small edits

    add expectation even for `toThrowError()` cases
    Jolg42 authored and jkomyno committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    059b400 View commit details
    Browse the repository at this point in the history
  5. m:n: split 1 test for prisma/foreignKeys

    Jolg42 authored and jkomyno committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    ebadbd6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    441fb2b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aaad48e View commit details
    Browse the repository at this point in the history
  8. fix: moved _referential-integrity-utils to _utils/referential-integri…

    …ty to support  ERR_PNPM_NO_SCRIPT  Missing script: test:functional-code command
    jkomyno committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    f86cd25 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    76726c2 View commit details
    Browse the repository at this point in the history
  10. chore: added comments to m:n

    jkomyno committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    8810f20 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    64992b0 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4e035e9 View commit details
    Browse the repository at this point in the history
  13. chore: prettier

    Jolg42 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    872de6b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d6803cc View commit details
    Browse the repository at this point in the history
  15. * simplify conditionals

    Jolg42 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    3247e70 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    022698a View commit details
    Browse the repository at this point in the history
  17. chore: comment skipped test

    Jolg42 committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    c9ab75b View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    dfc0ad7 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Configuration menu
    Copy the full SHA
    cd9e597 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0dfc6b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04fae89 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    49efaf6 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Configuration menu
    Copy the full SHA
    0787fba View commit details
    Browse the repository at this point in the history
  2. chore: reproduce issue #12378

    jkomyno committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    a09989e View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	.github/workflows/test.yml
    #	packages/client/tests/functional/jest.config.js
    Jolg42 committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    f256728 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5344f8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dbdea34 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2022

  1. Merge remote-tracking branch 'origin/main' into joel/referential-inte…

    …grity
    
    # Conflicts:
    #	packages/client/tests/functional/_utils/getTestSuiteInfo.ts
    #	pnpm-lock.yaml
    Jolg42 committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    c01beb9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5fa5397 View commit details
    Browse the repository at this point in the history
  3. ci: continue-on-error: true

    Jolg42 committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    9dbef31 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80b7928 View commit details
    Browse the repository at this point in the history
  5. fix ts checks

    Jolg42 committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    19a434d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    81f3b32 View commit details
    Browse the repository at this point in the history
  7. fix Cannot destructure property 'onDelete' of 'suiteConfig.referentia…

    …lActions' as it is undefined.
    Jolg42 committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    41f1bbf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    36ebccf View commit details
    Browse the repository at this point in the history
  9. Merge branch 'joel/referential-integrity' of github.com:prisma/prisma…

    … into joel/referential-integrity
    jkomyno committed Aug 9, 2022
    Configuration menu
    Copy the full SHA
    6efc102 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cbb5011 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2022

  1. Configuration menu
    Copy the full SHA
    631b8ee View commit details
    Browse the repository at this point in the history
  2. Merge branch 'joel/referential-integrity' of github.com:prisma/prisma…

    … into joel/referential-integrity
    Jolg42 committed Aug 11, 2022
    Configuration menu
    Copy the full SHA
    1fdadeb View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2022

  1. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	.github/workflows/test.yml
    #	packages/client/package.json
    #	pnpm-lock.yaml
    Jolg42 committed Aug 25, 2022
    Configuration menu
    Copy the full SHA
    e48b682 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    664bc2f View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    ae0a082 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	.github/workflows/test.yml
    Jolg42 committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    2d4356c View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. manually bump engines

    Jolg42 committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    3e181be View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7a8fb1a View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	packages/client/package.json
    #	packages/engines/package.json
    #	packages/fetch-engine/package.json
    #	packages/migrate/package.json
    #	pnpm-lock.yaml
    Jolg42 committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    c09fe8c View commit details
    Browse the repository at this point in the history
  4. fix github actions

    Jolg42 committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    1c6e3f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c4d074c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e492e01 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c261132 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. add sqlite error snapshot

    Jolg42 committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    3682d93 View commit details
    Browse the repository at this point in the history
  2. remove continue-on-error

    Jolg42 committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    9f71b91 View commit details
    Browse the repository at this point in the history
  3. remove outdated comments

    Jolg42 committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    3c3753d View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	pnpm-lock.yaml
    Jolg42 committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    5a3373c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cde0d74 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Configuration menu
    Copy the full SHA
    fa554a3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bf74c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdb1604 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8d71cfe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9f93563 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6014a6 View commit details
    Browse the repository at this point in the history
  7. fix SQL Server test

    Jolg42 committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    db685f8 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    4d0c812 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5ce3fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ba83a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f271c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    124f30d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0c5622e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dd84c3b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4ce0347 View commit details
    Browse the repository at this point in the history
  9. ignore expected type errors

    Jolg42 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    444a2e9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7190f07 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bfdf450 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fa5684a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7bf7b1d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    72c2952 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. Merge remote-tracking branch 'origin' into joel/referential-integrity

    # Conflicts:
    #	pnpm-lock.yaml
    Jolg42 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    b1b35c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1c6f5bd View commit details
    Browse the repository at this point in the history
  3. fix relationMode value

    Jolg42 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    b1e1463 View commit details
    Browse the repository at this point in the history
  4. fix test name + comments

    Jolg42 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    172ec1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    81ab764 View commit details
    Browse the repository at this point in the history
  6. add test for referentialIntegrity="prisma"

    Closes #15736
    Jolg42 committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    1aca963 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4731c03 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    550d08a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8bf7e2b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    009f294 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. update README [skip ci]

    Jolg42 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    698edfc View commit details
    Browse the repository at this point in the history