SoftDeleteModels type

Which models are soft-deleted, and which column carries the stamp.

Signature:

export type SoftDeleteModels = Record<string, {
    deletedAt: string;
}>;

Remarks

Keyed by Prisma model name; the deletedAt value is the column that holds the deletion timestamp, so it does not have to be literally named deletedAt. A model absent from this map is untouched — its deletes are real deletes. The code generator emits this config from your schema, so it normally comes from there rather than being written by hand.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.