Project

General

Profile

Refactor #29491

simplify Plugin#pending_migration method

Added by Tomer Brisker 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

the method currently uses activerecord migration internals to get a list of pending migrations that is only used for debug logging. The internals changed in rails 6 requiring a change to this method but it can be simplified so it doesn't rely on the internal methods.

Associated revisions

Revision ba970027 (diff)
Added by Tomer Brisker 4 months ago

Fixes #29491 - Simplify Plugin#pending_migration method

History

#1 Updated by The Foreman Bot 4 months ago

  • Assignee set to Tomer Brisker
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7571 added

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.1.0 added

#3 Updated by Tomer Brisker 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF