feat(database): re-add per-post counters to track page views etc.

This commit is contained in:
David Bailey 2025-03-27 23:31:29 +01:00
parent 5ddbae91d2
commit a3604d21c9
7 changed files with 53 additions and 9 deletions

View file

@ -26,6 +26,8 @@ CREATE TABLE dev_posts (
post_metadata JSON DEFAULT NULL,
post_settings_cache JSON DEFAULT NULL,
post_counters JSON DEFAULT NULL,
PRIMARY KEY(post_id),
CONSTRAINT unique_post UNIQUE (post_path),