diff --git a/lib/tasks/db_fake_data.rake b/lib/tasks/db_fake_data.rake index eaa6b83e3..5db898565 100644 --- a/lib/tasks/db_fake_data.rake +++ b/lib/tasks/db_fake_data.rake @@ -942,6 +942,11 @@ namespace :db do create_private_user_organization(user, DEFAULT_PRIVATE_ORG_NAME) end + # Generate thumbnails of all experiments + Experiment.find_each do |experiment| + experiment.generate_workflow_img + end + # Calculate space taken by each organization; this must # be done in a separate transaction because the estimated # asset sizes are calculated in after_commit, which is done