fix: ignore message DB migrations in autoloader

This commit is contained in:
Adam Cooke
2024-01-30 10:19:37 +00:00
parent 0f9882f132
commit 3fb40e4e24
+5
View File
@@ -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