prorm API Reference
    Preparing search index...

    Interface SchemaDifferOptions

    Options for schema differ

    interface SchemaDifferOptions {
        compareIndexes?: boolean;
        compareConstraints?: boolean;
        compareForeignKeys?: boolean;
        serializeColumnType?: (type: DataType) => string;
        skipColumnProperties?: string[];
    }
    Index
    compareIndexes?: boolean

    Whether to compare indexes

    compareConstraints?: boolean

    Whether to compare constraints

    compareForeignKeys?: boolean

    Whether to compare foreign keys

    serializeColumnType?: (type: DataType) => string

    Custom column type serializer

    skipColumnProperties?: string[]

    Skip certain column properties when comparing