Add unified posts database groundwork #2

Merged
codegirl007 merged 2 commits from posts-database into app 2026-08-27 07:05:24 +00:00
Owner

Adds self-referencing post and post-vote tables, generated schema models, and an idempotent snapshot migration that preserves the legacy tables during the staged application cutover.

Adds self-referencing post and post-vote tables, generated schema models, and an idempotent snapshot migration that preserves the legacy tables during the staged application cutover.
codegirl007 added 1 commit 2026-08-27 07:00:21 +00:00
Add unified posts database groundwork.
CI / test (pull_request) Successful in 6m18s
007fcd0991
Introduce additive post and post-vote tables with an idempotent legacy snapshot migration so the existing application remains compatible during the staged cutover.
codegirl007 reviewed 2026-08-27 07:02:02 +00:00
@@ -38,0 +50,4 @@
title TEXT NOT NULL DEFAULT '',
body TEXT NOT NULL,
city TEXT NOT NULL DEFAULT '',
hunt_date TEXT NOT NULL DEFAULT '',
Author
Owner

let's not call it hunt date. let's call it post_date.

let's not call it hunt date. let's call it post_date.
codegirl007 marked this conversation as resolved
codegirl007 added 1 commit 2026-08-27 07:03:12 +00:00
Rename the unified post date field.
CI / test (pull_request) Successful in 6m16s
c6b5d6a456
Use post_date throughout the new schema while retaining hunt_date only as the legacy migration source.
Author
Owner

Updated in c6b5d6a. The new posts schema, index, generated model, migration targets, and tests now use post_date; legacy questions.hunt_date remains only as the source column during migration.

Updated in c6b5d6a. The new posts schema, index, generated model, migration targets, and tests now use `post_date`; legacy `questions.hunt_date` remains only as the source column during migration.
codegirl007 merged commit c5ef15ae1f into app 2026-08-27 07:05:24 +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#2