Transactions with postgres
So, I have my authentication set up in a way that each user 'lives' in two separate tables, Users (email and password) and Customers (more personal data)
This is my registration controller:
`
How can i make this operation into a single atomic transaction that will revert if any of them fails by itself?
Thank you
2 Replies
awesome, thank you