# `PhoenixKit.Migrations.Postgres.V49`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit/migrations/postgres/v49.ex#L1)

V49: Shop Import Enhancements

Adds option_mappings to import_configs and product_ids to import_logs
for enhanced CSV import functionality.

## Changes

- Adds option_mappings JSONB column to import_configs for storing
  CSV option to global option mappings configuration
- Adds product_ids INTEGER[] column to import_logs for tracking
  which products were created/updated during a CSV import

## option_mappings Structure

```json
[
  {
    "csv_name": "Cup Color",
    "slot_key": "cup_color",
    "source_key": "color",
    "auto_add": true,
    "label": {"en": "Cup Color", "ru": "Цвет чашки"}
  }
]
```

# `down`

# `up`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
