Search documentation of phoenix_kit

# PhoenixKit.Migrations.Postgres.V44 (phoenix_kit v1.7.87)

Copy Markdown View Source

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.

## Summary

### Functions

down(opts)

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

up(opts)

Run the V44 migration to rename Sync tables.

## Functions

# down(opts)

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

# up(opts)

Run the V44 migration to rename Sync tables.