migrate appropriate attr for order to be generated