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

PhoenixKit V44 Migration: Rename DB Sync tables to Sync

This migration renames the DB Sync tables and indexes to match the
module rename from DBSync to Sync.

## Changes

### Table Renames
- `phoenix_kit_db_sync_connections` → `phoenix_kit_sync_connections`
- `phoenix_kit_db_sync_transfers` → `phoenix_kit_sync_transfers`

### Index Renames
All indexes are renamed to match the new table names.

### Setting Key Renames
- `db_sync_enabled` → `sync_enabled`
- `db_sync_incoming_mode` → `sync_incoming_mode`
- `db_sync_incoming_password` → `sync_incoming_password`

## Backwards Compatibility

This is a breaking change for existing installations. The migration
handles the rename automatically, but any raw SQL queries referencing
the old table names will need to be updated.

# `down`

Rollback the V44 migration (rename back to old names).

# `up`

Run the V44 migration to rename Sync tables.

---

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