mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
add oneoff for deleting invalid survey item responses
This commit is contained in:
parent
c14960517b
commit
d888cdff3a
1 changed files with 5 additions and 0 deletions
|
|
@ -192,4 +192,9 @@ namespace :one_off do
|
|||
|
||||
Rails.cache.clear
|
||||
end
|
||||
|
||||
desc 'delete errant response'
|
||||
task delete_response: :environment do
|
||||
SurveyItemResponse.where(response_id: 'R_diYAw7qOj4W1UZ3').delete_all
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue