Back to Admin Dashboard
Order Money Migration
One-time utility to normalize monetary values and add cents precision
Warning: This migration will update all orders to use integer cents for money calculations. It will fix any orders showing more than 2 decimal places (e.g., 149.1883 → 149.19). This operation is safe and can be run multiple times - it will skip already migrated orders.
Migration Process
This utility will:
- Add cents fields (subtotal_cents, tax_amount_cents, shipping_amount_cents, total_cents)
- Normalize all monetary values to exactly 2 decimal places
- Calculate net_revenue_cents from total_cents - refund_amount_cents
- Skip orders that are already migrated
