﻿# `budget_categories`

**Module:** Budget

---

## Purpose

User-defined budget categories (Venue, Catering, etc.). Organizes expense line items.

---

## Columns (Summary)

| Column | Notes |
|--------|-------|
| `id BIGINT UNSIGNED AUTO_INCREMENT PK` | — |
| `workspace_id BIGINT UNSIGNED NOT NULL FK→workspaces` | — |
| `name VARCHAR(100) NOT NULL` | — |
| `sort_order INT DEFAULT 0` | — |
| `is_deleted TINYINT(1) DEFAULT 0` | — |
| `created_at DATETIME DEFAULT CURRENT_TIMESTAMP` | — |
| `updated_at DATETIME NULL` | — |
| `deleted_at DATETIME NULL` | — |

---

## Referenced By

budget_expenses(category_id)

---

## Notes

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