Skip to content

Clean up legacy DB schema: collapse auto-migrations and remove obsolete SQL handlers#4409

Merged
frett merged 16 commits into
developfrom
dbSchemaCleanup
May 5, 2026
Merged

Clean up legacy DB schema: collapse auto-migrations and remove obsolete SQL handlers#4409
frett merged 16 commits into
developfrom
dbSchemaCleanup

Conversation

@frett

@frett frett commented May 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes obsolete Room auto-migration JSON schema dumps for DB versions 6–21 (intermediate versions no longer needed since no supported app version targets them)
  • Collapses the chain of auto-migrations from 7→8→9→…→22 into a single combined migration (7→22), reducing migration overhead for users upgrading from old installs
  • Removes obsolete legacy DB migration SQL constants and handlers for versions 48–57 (v6.0.1 era, no longer reachable)
  • Removes obsolete Room auto-migration and schema dump for DB version 6 (v6.0.1)
  • Adds v6.3.0 label to the DB version history for clarity

Test plan

  • Verify GodToolsRoomDatabaseMigrationIT passes — covers migration paths from old DB versions through to current schema
  • Install a build over a sufficiently old install and confirm DB migration succeeds without data loss

🤖 Generated with Claude Code

frett and others added 16 commits May 4, 2026 18:28
…8-51

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…on 6)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ration

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@frett frett force-pushed the dbSchemaCleanup branch from eb1a0b6 to 3cb69f8 Compare May 5, 2026 00:45
@codecov

codecov Bot commented May 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.49%. Comparing base (b283b28) to head (3cb69f8).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4409      +/-   ##
===========================================
+ Coverage    51.02%   51.49%   +0.46%     
===========================================
  Files          449      449              
  Lines        12082    11967     -115     
  Branches      2094     2080      -14     
===========================================
- Hits          6165     6162       -3     
+ Misses        5305     5193     -112     
  Partials       612      612              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@frett frett merged commit bacd9fb into develop May 5, 2026
13 checks passed
@frett frett deleted the dbSchemaCleanup branch May 5, 2026 02:08
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.

1 participant