prorm API Reference
    Preparing search index...

    Interface DropTypeOptions

    Options for dropping a PostgreSQL type (DROP TYPE ...)

    interface DropTypeOptions {
        ifExists?: boolean;
        cascade?: boolean;
        schema?: string;
    }
    Index
    ifExists?: boolean

    If true, uses DROP TYPE IF EXISTS

    cascade?: boolean

    If true, uses CASCADE to drop dependent objects

    schema?: string

    Schema the type lives in