Embed workflow definitions in schema separately from relations/attributes in schema
Workflows are special because states and transitions definitions are entities with their own eids. That means that if we want to store the workflows at compile time we have to treat them differently than attributes/relations.