-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/mongo-relationMode-prismaSkipIntegrity
- Loading branch information
Showing
32 changed files
with
660 additions
and
77 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ in | |
|
||
nodejs_20 | ||
nodejs_20.pkgs.typescript-language-server | ||
pnpm_8 | ||
pnpm_9 | ||
|
||
binaryen | ||
cargo-insta | ||
|
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
14 changes: 14 additions & 0 deletions
14
psl/psl/tests/validation/attributes/cuid/reject_string_column_with_int_256_arg_valid.prisma
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
datasource db { | ||
provider = "mysql" | ||
url = "does_not_matter" | ||
} | ||
|
||
model Category { | ||
id String @id @default(cuid(256)) | ||
} | ||
// [1;91merror[0m: [1mError parsing attribute "@default": `cuid()` takes either no argument, or a single integer argument which is either 1 or 2.[0m | ||
// [1;94m-->[0m [4mschema.prisma:7[0m | ||
// [1;94m | [0m | ||
// [1;94m 6 | [0mmodel Category { | ||
// [1;94m 7 | [0m id String @id [1;91m@default(cuid(256))[0m | ||
// [1;94m | [0m |
14 changes: 14 additions & 0 deletions
14
...psl/tests/validation/attributes/nanoid/reject_string_column_with_int_256_arg_valid.prisma
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
datasource db { | ||
provider = "mysql" | ||
url = "does_not_matter" | ||
} | ||
|
||
model Category { | ||
id String @id @default(nanoid(256)) | ||
} | ||
// [1;91merror[0m: [1mError parsing attribute "@default": `nanoid()` takes either no argument, or a single integer argument between 2 and 255.[0m | ||
// [1;94m-->[0m [4mschema.prisma:7[0m | ||
// [1;94m | [0m | ||
// [1;94m 6 | [0mmodel Category { | ||
// [1;94m 7 | [0m id String @id [1;91m@default(nanoid(256))[0m | ||
// [1;94m | [0m |
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
14 changes: 14 additions & 0 deletions
14
psl/psl/tests/validation/attributes/uuid/reject_string_column_with_int_256_arg_valid.prisma
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
datasource db { | ||
provider = "mysql" | ||
url = "does_not_matter" | ||
} | ||
|
||
model Category { | ||
id String @id @default(uuid(256)) | ||
} | ||
// [1;91merror[0m: [1mError parsing attribute "@default": `uuid()` takes either no argument, or a single integer argument which is either 4 or 7.[0m | ||
// [1;94m-->[0m [4mschema.prisma:7[0m | ||
// [1;94m | [0m | ||
// [1;94m 6 | [0mmodel Category { | ||
// [1;94m 7 | [0m id String @id [1;91m@default(uuid(256))[0m | ||
// [1;94m | [0m |
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.