Skip to content

Remove forum password grants table and refactor domain packages - #168

Merged
jouwdan merged 4 commits into
mainfrom
claude/mei-17-mei-19-b2x0tb
Aug 20, 2026
Merged

Remove forum password grants table and refactor domain packages#168
jouwdan merged 4 commits into
mainfrom
claude/mei-17-mei-19-b2x0tb

Conversation

@jouwdan

@jouwdan jouwdan commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR removes the deprecated forum_password_grants table from the database schema and refactors the domain packages configuration to be more maintainable and dynamic.

Key Changes

  • Database Migration: Added migration 0050 to drop the forum_password_grants table that is no longer needed
  • Schema Update: Removed the forumPasswordGrants table definition from packages/db/src/schema/structure.ts
  • Domain Packages Refactor: Extracted domain package definitions from .dependency-cruiser.cjs into a new scripts/domain-packages.cjs module for better reusability
  • Dependency Cruiser Config: Simplified .dependency-cruiser.cjs by removing hardcoded domain lists and importing from the new shared module
  • Guard Scripts: Updated scripts/guards.mjs to use the new domainPackages export
  • Documentation Updates:
    • Updated docs/architecture.md to reflect the new domain packages structure
    • Fixed Docker volume references from meith_uploads to docker_uploads in docs/operating.md and docs/disaster-recovery.md
    • Updated .env.example with corrected Docker Compose file path reference
  • Translations: Updated English i18n catalog with installer-related message fixes

Implementation Details

The domain packages configuration is now centralized in a single source of truth (scripts/domain-packages.cjs), making it easier to maintain and reference across multiple configuration files. This eliminates duplication and reduces the risk of configuration drift between different tools.

https://claude.ai/code/session_011TkUEQhzDEpjYSgJLqeBDb

@jouwdan
jouwdan merged commit 9683bb2 into main Aug 20, 2026
10 checks passed
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