migration orders-state :num -> :str
state machine was removed;
state for order and some fixes