None of them. It's in the logic.
This is one of many reasons you should not be reading the database - it is hard to read and does not have everything you woud guess might be in it.
Could I ask what problem you are trying to solve that makes you think SQL is an answer?
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events