diff --git a/lib/export/export.rb b/lib/export/export.rb index f857bd45ff3..fb9d77fa8f1 100644 --- a/lib/export/export.rb +++ b/lib/export/export.rb @@ -12,7 +12,7 @@ module Export def self.models_included_in_export @models_included_in_export ||= begin Rails.application.eager_load! # So that all models get loaded now - ActiveRecord::Base.descendants + ActiveRecord::Base.descendants - [ActiveRecord::SchemaMigration] end end