DEV: Stub #flush in StdOutDemux for multisite:migrate

DEV: Stub #flush in StdOutDemux for multisite:migrate

https://meta.discourse.org/t/multisite-migrate-error/150579/2

diff --git a/lib/tasks/db.rake b/lib/tasks/db.rake
index 8108747..5a6c67c 100644
--- a/lib/tasks/db.rake
+++ b/lib/tasks/db.rake
@@ -91,6 +91,10 @@ class StdOutDemux
       @data.delete Thread.current
     end
   end
+
+  def flush
+    # Do nothing
+  end
 end
 
 task 'multisite:migrate' => ['db:load_config', 'environment', 'set_locale'] do |_, args|

GitHub sha: 72ad701d

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/multisite-migrate-error/150579/3