-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @prisma/adapter-planetscale to v5.5.0 (#…
…21603) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joël Galeran <[email protected]>
- Loading branch information
1 parent
5072f0e
commit c7d63e7
Showing
6 changed files
with
94 additions
and
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,9 +60,25 @@ Invalid \`tx.user.create()\` invocation in | |
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.itx (provider=mysql, js_planetscale) extended client in itx can rollback via custom call 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email, firstName, lastName) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */, :vtg3 /* VARCHAR */, :vtg4 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"02d25579a73a72373fa4e846\\""vtg2: "type:VARCHAR value:\\"jane@smith.com\\""vtg3: "type:VARCHAR value:\\"Jane\\""vtg4: "type:VARCHAR value:\\"Smith\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`,\`firstName\`,\`lastName\`) VALUES ('02d25579a73a72373fa4e846','[email protected]','Jane','Smith')`; | ||
exports[`extensions.itx (provider=mysql, js_planetscale) extended client in itx can rollback via custom call 1`] = ` | ||
exports[`extensions.itx (provider=mysql, js_planetscale) extended client in itx can rollback via normal call 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email, firstName, lastName) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */, :vtg3 /* VARCHAR */, :vtg4 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"02d25579a73a72373fa4e846\\""vtg2: "type:VARCHAR value:\\"jane@smith.com\\""vtg3: "type:VARCHAR value:\\"Jane\\""vtg4: "type:VARCHAR value:\\"Smith\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`,\`firstName\`,\`lastName\`) VALUES ('02d25579a73a72373fa4e846','[email protected]','Jane','Smith')`; | ||
Invalid \`prisma.user.create()\` invocation: | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.itx (provider=mysql, js_planetscale) extended client in itx can rollback via normal call 1`] = ` | ||
Invalid \`tx.user.create()\` invocation in | ||
/client/tests/functional/extensions/itx.ts:0:0 | ||
XX }, | ||
XX }) | ||
XX | ||
→ XX await tx.user.create( | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.itx (provider=postgresql) extended client in itx can rollback via custom call 1`] = ` | ||
|
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 |
---|---|---|
|
@@ -60,9 +60,25 @@ Invalid \`xprisma.user.create()\` invocation in | |
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.tx (provider=mysql, js_planetscale) extended client in tx can rollback via custom call 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email, firstName, lastName) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */, :vtg3 /* VARCHAR */, :vtg4 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"a85d5d75a3a886cb61eb3a0e\\""vtg2: "type:VARCHAR value:\\"jane@smith.com\\""vtg3: "type:VARCHAR value:\\"Jane\\""vtg4: "type:VARCHAR value:\\"Smith\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`,\`firstName\`,\`lastName\`) VALUES ('a85d5d75a3a886cb61eb3a0e','[email protected]','Jane','Smith')`; | ||
exports[`extensions.tx (provider=mysql, js_planetscale) extended client in tx can rollback via custom call 1`] = ` | ||
exports[`extensions.tx (provider=mysql, js_planetscale) extended client in tx can rollback via normal call 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email, firstName, lastName) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */, :vtg3 /* VARCHAR */, :vtg4 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"a85d5d75a3a886cb61eb3a0e\\""vtg2: "type:VARCHAR value:\\"jane@smith.com\\""vtg3: "type:VARCHAR value:\\"Jane\\""vtg4: "type:VARCHAR value:\\"Smith\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`,\`firstName\`,\`lastName\`) VALUES ('a85d5d75a3a886cb61eb3a0e','[email protected]','Jane','Smith')`; | ||
Invalid \`prisma.user.create()\` invocation: | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.tx (provider=mysql, js_planetscale) extended client in tx can rollback via normal call 1`] = ` | ||
Invalid \`xprisma.user.create()\` invocation in | ||
/client/tests/functional/extensions/tx.ts:0:0 | ||
XX lastName: 'Smith', | ||
XX }, | ||
XX }), | ||
→ XX xprisma.user.create( | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`extensions.tx (provider=postgresql) extended client in tx can rollback via custom call 1`] = ` | ||
|
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 |
---|---|---|
|
@@ -124,13 +124,49 @@ Invalid \`prisma.user.create()\` invocation in | |
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching raw rollback 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '1' for key 'User.PRIMARY' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"1\\""vtg2: "type:VARCHAR value:\\"user_1@website.com\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO User (id, email) VALUES ('1', '[email protected]')`; | ||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching raw rollback 1`] = ` | ||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching rollback 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"a85d5d75a3a886cb61eb3a0e\\""vtg2: "type:VARCHAR value:\\"user_1@website.com\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`) VALUES ('a85d5d75a3a886cb61eb3a0e','[email protected]')`; | ||
Invalid \`prisma.$executeRaw()\` invocation: | ||
Raw query failed. Code: \`1062\`. Message: \`rpc error: code = AlreadyExists desc = Duplicate entry '1' for key 'User.PRIMARY'\` | ||
`; | ||
|
||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching rollback 1`] = ` | ||
Invalid \`prisma.user.create()\` invocation in | ||
/client/tests/functional/interactive-transactions/tests.ts:0:0 | ||
XX email: '[email protected]', | ||
XX }, | ||
XX }), | ||
→ XX prisma.user.create( | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching rollback within callback 1`] = ` | ||
exports[`interactive-transactions (provider=mysql, js_planetscale) batching rollback within callback 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"a7fe5dac91ab6b0f529430c5\\""vtg2: "type:VARCHAR value:\\"user_1@website.com\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`) VALUES ('a7fe5dac91ab6b0f529430c5','[email protected]')`; | ||
Invalid \`tx.user.create()\` invocation in | ||
/client/tests/functional/interactive-transactions/tests.ts:0:0 | ||
exports[`interactive-transactions (provider=mysql, js_planetscale) rollback query 1`] = `target: test-0000-00000000.0.primary: vttablet: rpc error: code = AlreadyExists desc = Duplicate entry '[email protected]' for key 'User.User_email_key' (errno 1062) (sqlstate 23000) (CallerID: userData1): Sql: "insert into \`User\`(id, email) values (:vtg1 /* VARCHAR */, :vtg2 /* VARCHAR */)", BindVars: {vtg1: "type:VARCHAR value:\\"a85d5d75a3a886cb61eb3a0e\\""vtg2: "type:VARCHAR value:\\"user_1@website.com\\""} (errno 1062) (sqlstate 23000) during query: INSERT INTO \`test-0000-00000000\`.\`User\` (\`id\`,\`email\`) VALUES ('a85d5d75a3a886cb61eb3a0e','[email protected]')`; | ||
XX }), | ||
XX ]) | ||
XX | ||
→ XX await tx.user.create( | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`interactive-transactions (provider=mysql, js_planetscale) rollback query 1`] = ` | ||
Invalid \`prisma.user.create()\` invocation in | ||
/client/tests/functional/interactive-transactions/tests.ts:0:0 | ||
XX }, | ||
XX }) | ||
XX | ||
→ XX await prisma.user.create( | ||
Unique constraint failed on the constraint: \`User_email_key\` | ||
`; | ||
|
||
exports[`interactive-transactions (provider=postgresql) batching raw rollback 1`] = ` | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.