Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
290 B

desc "set creation method to bulk upload if a log has a bulk upload id"
task set_creation_method: :environment do
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")
end