feat(db): add toc_html column to posts table

- Add migration 005_add_toc_html.sql to store pre-rendered TOC HTML
- Enables caching rendered TOC alongside content_html at write time
This commit is contained in:
xfy 2026-06-12 10:35:33 +08:00
parent bd9e87128d
commit 7244c39a47

View File

@ -0,0 +1 @@
ALTER TABLE posts ADD COLUMN toc_html TEXT;