berrypod/priv/repo/migrations
jamey 5c2f70ce44 add shipping costs with live exchange rates and country detection
Shipping rates fetched from Printify during product sync, converted to
GBP at sync time using frankfurter.app ECB exchange rates with 5%
buffer. Cached in shipping_rates table per blueprint/provider/country.

Cart page shows shipping estimate with country selector (detected from
Accept-Language header, persisted in cookie). Stripe Checkout includes
shipping_options for UK domestic and international delivery. Order
shipping_cost extracted from Stripe on payment.

ScheduledSyncWorker runs every 6 hours via Oban cron to keep rates
and exchange rates fresh. REST_OF_THE_WORLD fallback covers unlisted
countries. 780 tests, 0 failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 10:48:00 +00:00
..
.formatter.exs mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
20251230122634_create_users_auth_tables.exs mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
20251230213057_create_settings.exs feat: add Settings and Media contexts with theme settings schema 2025-12-30 21:35:52 +00:00
20251230213058_create_images.exs feat: add Settings and Media contexts with theme settings schema 2025-12-30 21:35:52 +00:00
20260121220351_add_image_metadata_and_oban.exs feat: add image metadata fields for optimization pipeline 2026-01-21 22:08:19 +00:00
20260128235845_create_provider_connections.exs feat: add Products context with provider integration (Phase 1) 2026-01-29 20:32:20 +00:00
20260128235846_create_products.exs chore: apply mix format to codebase 2026-01-31 14:24:58 +00:00
20260128235847_create_product_images.exs chore: apply mix format to codebase 2026-01-31 14:24:58 +00:00
20260128235848_create_product_variants.exs chore: apply mix format to codebase 2026-01-31 14:24:58 +00:00
20260131232618_add_image_id_to_product_images.exs feat: add product image download pipeline for PageSpeed 100% 2026-02-01 00:26:19 +00:00
20260207005141_create_orders.exs feat: add Stripe checkout, order persistence, and webhook handling 2026-02-07 08:30:17 +00:00
20260207084327_add_encrypted_value_to_settings.exs feat: add encrypted settings, guided Stripe setup, and admin credentials page 2026-02-07 17:12:53 +00:00
20260207234225_add_fulfilment_fields_to_orders.exs feat: add Printify order submission and fulfilment tracking 2026-02-08 09:51:51 +00:00
20260208165931_add_error_tracker.exs add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
20260213005639_add_cached_product_fields.exs add denormalized product fields and use Product structs throughout 2026-02-13 01:26:39 +00:00
20260213020000_create_products_search.exs add FTS5 full-text product search 2026-02-13 07:29:19 +00:00
20260214004900_create_shipping_rates.exs add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00
20260214004901_add_shipping_cost_to_orders.exs add shipping costs with live exchange rates and country detection 2026-02-14 10:48:00 +00:00