Browse Source

stupid lint

CLDC-2492-create-rake-task-to-set-creation-method-for-existing-logs
Arthur Campbell 2 years ago
parent
commit
20dce084b8
  1. 2
      lib/tasks/creation_method.rake

2
lib/tasks/creation_method.rake

@ -2,4 +2,4 @@ desc "set creation method to bulk upload if a log has a bulk upload id"
task set_creation_method: :environment do task set_creation_method: :environment do
LettingsLog.where.not(bulk_upload_id: nil).update_all(creation_method: "bulk upload") LettingsLog.where.not(bulk_upload_id: nil).update_all(creation_method: "bulk upload")
SalesLog.where.not(bulk_upload_id: nil).update_all(creation_method: "bulk upload") SalesLog.where.not(bulk_upload_id: nil).update_all(creation_method: "bulk upload")
end end

Loading…
Cancel
Save