# ArchivableModel interface · @imqueue/pg-prisma

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

One watched table to seed into the archive settings table.

**Signature:**

```typescript
export interface ArchivableModel 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [name](https://imqueue.org/api/pg-prisma/latest/pg-prisma.archivablemodel.name/) |  | string | Table name (as created in `sourceSchema`). |
| [periodSeconds?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.archivablemodel.periodseconds/) |  | number | _(Optional)_ Retention period in seconds (default `defaultPeriodSeconds`). |
| [sourceSchema?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.archivablemodel.sourceschema/) |  | string | _(Optional)_ Schema the table lives in (default `sourceSchema`). |
| [watchColumn?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.archivablemodel.watchcolumn/) |  | string | _(Optional)_ Column whose age gates archiving (default `defaultColumn`). |

