Skip to content

Commit

Permalink
fix: ignore message DB migrations in autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Jan 30, 2024
1 parent 0f9882f commit 3fb40e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/initializers/zeitwerk.rb
@@ -0,0 +1,5 @@
Rails.autoloaders.each do |autoloader|
# Ignore the message DB migrations directory as it doesn't follow
# Zeitwerk's conventions and is always loaded and executed in order.
autoloader.ignore(Rails.root.join('lib/postal/message_db/migrations'))
end

0 comments on commit 3fb40e4

Please sign in to comment.