Your code rolls back in seconds. Your database does not.
You typed the question into a search bar, and the top result was a 4,000 word essay that assumed you already knew what an artifact was. I have been there. This is the version I wish I had found: quick
raheemsenteza.hashnode.dev7 min read