updated migration to explicitly set page order.