Fixed the error of generated table column creation order.