Task status model rework

Replaced categories with colors, icons and positions
This commit is contained in:
2026-04-06 02:30:33 +03:00
parent 138f1c42a0
commit 9766430e69
20 changed files with 74 additions and 25 deletions
+7
View File
@@ -35,4 +35,11 @@ namespace :data_migrations do
task.save!
end
end
desc 'Backfill task status icons and colors'
task backfill_task_status_icons_and_colors: :environment do
TaskStatus.in_batches do |batch|
batch.update_all(icon: 'circle_dash', color: 'blue')
end
end
end