subscribers table
The subscribers table in the Blog Database Schema schema has 9 columns, keyed by id.
Double opt-in: confirmed_at null means pending and must never be mailed. Unsubscribe is a timestamp, never a delete, so a re-import cannot resurrect them.
Columns (9)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| varchar(255) | unique, not null | ||
| name | varchar(120) | ||
| status | subscriber_status | not null | |
| confirm_token | varchar(64) | unique | |
| source | varchar(80) | ||
| subscribed_at | timestamptz | not null | |
| confirmed_at | timestamptz | ||
| unsubscribed_at | timestamptz |
Indexes (1)
(status, subscribed_at)