prorm API Reference
    Preparing search index...

    Type Alias TableConstraintType

    TableConstraintType: Exclude<ConstraintType, Exclude>

    The four constraint kinds every engine understands.

    EXCLUDE is PostgreSQL-only, and several dialects declare a four-member type because that is genuinely all they accept. Widening those to the full enum would let ConstraintType.Exclude type-check its way into a MySQL builder that cannot emit it, so they take this instead — the same enum, minus the member they do not support.