Add unified post storage #3

Merged
codegirl007 merged 3 commits from posts-store into app 2026-08-27 07:43:26 +00:00
Owner

Adds one post creation path for roots and replies, recursive thread loading, body-only updates, root listings, and root-only voting across PostgreSQL and the in-memory store.

Adds one post creation path for roots and replies, recursive thread loading, body-only updates, root listings, and root-only voting across PostgreSQL and the in-memory store.
codegirl007 added 1 commit 2026-08-27 07:10:59 +00:00
Add unified post storage.
CI / test (pull_request) Successful in 6m17s
fc8f286c34
Provide one creation path for roots and replies, recursive thread loading, body-only updates, root listings, and post voting across PostgreSQL and the in-memory test store.
codegirl007 added 1 commit 2026-08-27 07:22:10 +00:00
Simplify post listing queries.
CI / test (pull_request) Successful in 6m17s
e918e5bd1d
Use named sqlc arguments, scope vote aggregation to selected roots, join viewer votes directly, and add the indexes and drift migration required by the resulting access paths.
codegirl007 added 1 commit 2026-08-27 07:37:19 +00:00
Replace hidden flag with post state.
CI / test (pull_request) Successful in 6m16s
b481dd2925
Store post state as text so Go owns the allowed values and future states such as locked remain representable without a database enum migration.
codegirl007 merged commit e86c2072ea into app 2026-08-27 07:43:26 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: codegirl007/plumber#3