From ef52ad428b5c30fe0fbc18c037a3d09d8e4346e3 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Sun, 24 Sep 2023 16:18:27 +0100 Subject: [PATCH] Revert "Add Rake task to migrate timeline events" This reverts commit d968466115f8cf1d7a6a8879988b2c35eafe3e61. --- lib/tasks/timeline_events.rake | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 lib/tasks/timeline_events.rake diff --git a/lib/tasks/timeline_events.rake b/lib/tasks/timeline_events.rake deleted file mode 100644 index 13bceac257..0000000000 --- a/lib/tasks/timeline_events.rake +++ /dev/null @@ -1,8 +0,0 @@ -namespace :timeline_events do - desc "Migrate state_changed events" - task migrate_state_changed: :environment do - TimelineEvent.where(event_type: "state_changed").update_all( - event_type: "status_changed", - ) - end -end