question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transaction Table in v2.11.0

See original GitHub issue

Bug description

Since v2.11.0 was released, you are not able to have a MySQL table called “Transaction”. It will conflict with this line in the client:

node_modules/.prisma/client/index.d.ts

  /**
   * @deprecated renamed to `$transaction`
   */
  transaction: PromiseConstructor['all']

How to reproduce

Create a table named “Transaction” and try to generate the client.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
timsuchanekcommented, Nov 20, 2020

Thanks! This is already fixed in dev - you can try it out with @prisma/client@dev. The stable release for this will go out in 2.12 next week Tuesday.

1reaction
diegozubercommented, Nov 20, 2020

It shouldn’t be possible to have a table with this name even with older version of Prisma right?

In my case, I have this table in older version of Prisma

Same here. I downgraded to v2.10.2 and there it works fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MON_GET_TRANSACTION_LOG table function - Get log ...
Column Name Data Type Description MEMBER SMALLINT member ‑ Database member monitor element LOG_READ_TIME BIGINT log_read_time ‑ Log Read Time monitor element LOG_WRITE_TIME BIGINT log_write_time ‑...
Read more >
transaction table — oracle-tech
In the Oracle concepts 11g R2 is stated that "The database uses a transaction table, also called an interested transaction list (ITL), ...
Read more >
Transaction Tables - SAS Help Center
A table group is a set of tables sharing the same schema (same columns with the same field definitions). In a table group,...
Read more >
How should I create a transactions table?
What I would like to do is create a transactions table that shows when an item was issued to a technician, and create...
Read more >
Transaction v2 Deep Dive [Solana Tutorial] - Oct 14th '22
Are you bothered by Transaction Size limits on Solana? ... 0:55 Looking at Transactions 2 : 11 The proposal 8:15 Metadata of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found