seo_meta table
The seo_meta table in the Blog Database Schema schema has 11 columns, keyed by id, with 2 foreign keys to posts and categories.
Exactly one of post_id or category_id is set. The column lengths are deliberate: 70 and 160 are roughly what search results actually render.
Columns (11)
| Column | Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key | |
| post_id | uuid | unique, references posts.id | |
| category_id | uuid | unique, references categories.id | |
| meta_title | varchar(70) | ||
| meta_description | varchar(160) | ||
| canonical_url | varchar(500) | ||
| og_title | varchar(120) | ||
| og_description | varchar(200) | ||
| og_image_url | varchar(500) | ||
| robots_directive | varchar(60) | ||
| updated_at | timestamptz | not null |
Relationships
seo_meta.post_idreferencesposts.idseo_meta.category_idreferencescategories.id