prorm API Reference
    Preparing search index...

    Interface MigrationDiagramOptions

    interface MigrationDiagramOptions {
        title?: string;
        description?: string;
        timestamp?: string;
        changes: TableChange[];
        theme?: "light" | "dark";
        color?: string;
    }
    Index
    title?: string

    Diagram title

    description?: string

    Migration description

    timestamp?: string

    Migration timestamp

    changes: TableChange[]

    All table changes to visualize

    theme?: "light" | "dark"

    Accepted for backward compatibility and ignored: diagrams render in a single monochrome theme.

    color?: string

    Accepted for backward compatibility and ignored.