AutoBE
    Preparing search index...

    Interface representing the primary key field of a Prisma model.

    All models in the uploaded schemas use UUID as primary key for better distributed system compatibility and security (no sequential ID exposure).

    interface IPrimaryField {
        description: string;
        name: string & SnakePattern;
        type: "uuid";
    }
    Index

    Properties

    Properties

    description: string

    Description of the primary key field's purpose.

    Standard description is "Primary Key." across all models. Serves as the unique identifier for the model instance.

    IMPORTANT: Description must be written in English.

    name: string & SnakePattern

    Name of the primary key field.

    MUST use snake_case naming convention. Consistently named "id" across all models in the uploaded schemas. Represents the unique identifier for each record in the table.

    type: "uuid"

    Data type of the primary key field.

    Always "uuid" in the uploaded schemas for better distributed system support and to avoid exposing sequential IDs that could reveal business information.