Skip to content

Remove redundant migration name overrides and simplify registry to class - #1047

Merged
tudddorrr merged 1 commit into
developfrom
migration-classes-only
Sep 5, 2026
Merged

Remove redundant migration name overrides and simplify registry to class#1047
tudddorrr merged 1 commit into
developfrom
migration-classes-only

Conversation

@tudddorrr

Copy link
Copy Markdown
Collaborator

Migration cleanup

  • Dropped the redundant override name from AddOrganisationAndUserDeletedAtColumns, AddPlayersToDeleteUniqueConstraint, and CreateEventFunnelsTable, since the class name already matches.

Registry simplification

  • Rewrote src/migrations/index.ts to export migration classes directly instead of { name, class } object entries, cutting out ~250 lines of duplicated names.

Why it matters

  • The registry no longer risks name drift from the class declaration, and future migrations get a shorter additions checklist.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.42%. Comparing base (2452274) to head (7b0ad60).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1047   +/-   ##
========================================
  Coverage    98.42%   98.42%           
========================================
  Files          477      477           
  Lines         7613     7613           
  Branches       999      999           
========================================
  Hits          7493     7493           
  Misses          49       49           
  Partials        71       71           

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tudddorrr
tudddorrr merged commit 93ffea9 into develop Sep 5, 2026
16 checks passed
@tudddorrr
tudddorrr deleted the migration-classes-only branch September 5, 2026 07:19
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