﻿# `themes`

**Module:** Theme

---

## Purpose

Catalog of available invitation themes. Each theme has a slug mapping to a theme package directory in /themes/.

---

## Columns (Summary)

| Column | Notes |
|--------|-------|
| `id SMALLINT UNSIGNED AUTO_INCREMENT PK` | — |
| `name VARCHAR(100) NOT NULL` | — |
| `slug VARCHAR(100) NOT NULL` | — |
| `description TEXT NULL` | — |
| `thumbnail_path VARCHAR(500) NULL` | — |
| `theme_status VARCHAR(20) DEFAULT released` | — |
| `created_at DATETIME DEFAULT CURRENT_TIMESTAMP` | — |
| `deprecated_at DATETIME NULL` | — |

---

## Referenced By

theme_versions(theme_id)

---

## Notes

See `docs/database/RELATIONSHIP.md` for full entity relationships and `database/schema.sql` for authoritative DDL.
