Interface MigrationResult

Migration result with detailed statistics.

interface MigrationResult {
    success: boolean;
    tablesImported: number;
    rowsImported: number;
    errors?: string[];
    warnings?: string[];
    duration: number;
    sourceAdapter: string;
    targetAdapter: string;
    verification?: VerificationResult;
}

Hierarchy (view full)

Properties

success: boolean
tablesImported: number
rowsImported: number

Rows written: inserted, or replaced; a row onConflict: 'ignore' skipped is not counted.

errors?: string[]
warnings?: string[]

What the target table could not carry over: a default the target engine has no form of, a generated column made plain.

duration: number
sourceAdapter: string
targetAdapter: string
verification?: VerificationResult