# SoftDeleteModels type · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.softdeletemodels/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 1.0.1 — generated reference, not hand-written

Which models are soft-deleted, and which column carries the stamp.

**Signature:**

```typescript
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.

