Skip to content

WJ-1139: add forum schema, prune references, and seed sequences#2613

Merged
emmiegit merged 7 commits intodevelopfrom
fix/wj-1139-forum-schema
Feb 16, 2026
Merged

WJ-1139: add forum schema, prune references, and seed sequences#2613
emmiegit merged 7 commits intodevelopfrom
fix/wj-1139-forum-schema

Conversation

@Syxless
Copy link
Contributor

@Syxless Syxless commented Dec 12, 2025

Implements the forum schema (groups, categories, threads, locks, posts, post revisions) with site-level composite FKs, actor fields, soft-deletes, discussion-thread uniqueness, and indexes for ordering/activity/lookups.
Adds forum compatibility ID bumps in the seeder.
Updates TextService::prune() to keep forum post revision text hashes.

Tests: ran.

@Syxless Syxless requested a review from emmiegit as a code owner December 12, 2025 19:20
))
.add(not_in_column!(
Alias::new("forum_post_revision"),
Alias::new("compiled_html_hash"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see, temporary measure until new src/models files are generated. I'll do that in a separate PR because the autogen tool needs some manual correction unfortunately.

Syxless and others added 5 commits February 15, 2026 05:45
@codecov
Copy link

codecov bot commented Feb 15, 2026

Codecov Report

❌ Patch coverage is 0% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 2.27%. Comparing base (be83e2d) to head (c731882).
⚠️ Report is 18 commits behind head on develop.

Files with missing lines Patch % Lines
deepwell/src/database/seeder/mod.rs 0.00% 9 Missing ⚠️
deepwell/src/services/text.rs 0.00% 6 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           develop   #2613      +/-   ##
==========================================
- Coverage     2.27%   2.27%   -0.01%     
==========================================
  Files          164     164              
  Lines        10227   10242      +15     
==========================================
  Hits           233     233              
- Misses        9994   10009      +15     
Files with missing lines Coverage Δ
deepwell/src/services/text.rs 0.00% <0.00%> (ø)
deepwell/src/database/seeder/mod.rs 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- add page->forum_thread FK for discussion threads

- lock forum_post_lock to posts instead of threads

- seed forum category/thread/post compatibility ID sequences
@emmiegit emmiegit merged commit 32164a5 into develop Feb 16, 2026
9 checks passed
@emmiegit emmiegit deleted the fix/wj-1139-forum-schema branch February 16, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants