Add a comment to run the 'import:ensure_consistency' rake task after a bulk import

Add a comment to run the ‘import:ensure_consistency’ rake task after a bulk import

From a0f0bac752cd6768cbbccb755377c9e93a58d5ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9gis=20Hanol?= <regis@hanol.fr>
Date: Wed, 21 Nov 2018 16:28:35 +0100
Subject: [PATCH] Add a comment to run the 'import:ensure_consistency' rake
 task after a bulk import


diff --git a/script/bulk_import/base.rb b/script/bulk_import/base.rb
index a9188f6..0ac869d 100644
--- a/script/bulk_import/base.rb
+++ b/script/bulk_import/base.rb
@@ -80,7 +80,7 @@ class BulkImport::Base
     load_indexes
     execute
     fix_primary_keys
-    puts "Done!"
+    puts "Done! Now run the 'import:ensure_consistency' rake task."
   end
 
   def preload_i18n

GitHub

2 Likes

:heart_eyes: :heart_eyes: :heart_eyes: