Interface MigrationStrategy

Migration strategy for handling conflicts and errors.

interface MigrationStrategy {
    dropExisting?: boolean;
    onConflict?: "replace" | "error" | "ignore";
    verify?: boolean;
    batchSize?: number;
    tables?: string[];
}

Properties

dropExisting?: boolean

Whether to drop existing tables

onConflict?: "replace" | "error" | "ignore"

How to handle conflicts during import

verify?: boolean

Whether to verify data after migration

batchSize?: number

Batch size for operations

tables?: string[]

Tables to migrate (all if not specified)