Fixed db scripts for default transitions to handle properly the new USER_TYPE_BY column.