advertisers table
The advertisers table in the Reddit Clone Database Schema schema has 7 columns, keyed by id. 1 column in ad_campaigns references it.
Columns (7)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| name | varchar(200) | not null | |
| contact_email | varchar(255) | not null | |
| billing_currency | char(3) | not null | |
| balance_minor | integer | not null | |
| status | advertiser_status | not null | |
| created_at | timestamptz | not null |
Indexes (1)
(status, created_at)
Relationships
ad_campaigns.advertiser_idreferencesadvertisers