prorm API Reference
    Preparing search index...

    Interface TableSecurityOptions

    interface TableSecurityOptions {
        database?: string;
        schema?: string;
        dependsOn?: string[];
        classification?:
            | "PUBLIC"
            | "INTERNAL"
            | "CONFIDENTIAL"
            | "SECRET"
            | "TOP_SECRET";
        rlsEnabled?: boolean;
        auditEnabled?: boolean;
    }
    Index
    database?: string

    Database name this table belongs to (for multi-tenant setups).

    schema?: string

    Schema name (PostgreSQL/MySQL schema).

    dependsOn?: string[]

    Tables this table depends on (for cascade operations).

    classification?:
        | "PUBLIC"
        | "INTERNAL"
        | "CONFIDENTIAL"
        | "SECRET"
        | "TOP_SECRET"

    Data classification level for the entire table.

    rlsEnabled?: boolean

    Row-level security enabled for this table.

    auditEnabled?: boolean

    Tables in this schema that require audit.