# `invitation_sections`

**Module:** Invitation

---

## Purpose

Per-section configuration for the digital invitation. Each theme defines sections; this table stores visibility and config for each section.

---

## Columns (Summary)

| Column | Notes |
|--------|-------|
| `id BIGINT UNSIGNED AUTO_INCREMENT PK` | — |
| `invitation_id BIGINT UNSIGNED NOT NULL FK→invitations` | — |
| `section_slug VARCHAR(50) NOT NULL` | — |
| `is_visible TINYINT(1) DEFAULT 1` | — |
| `sort_order SMALLINT UNSIGNED DEFAULT 0` | — |
| `section_config JSON NULL` | — |
| `updated_at DATETIME NULL` | — |

---

## Referenced By

None

---

## Notes

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