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
@@ -0,0 +1,11 @@
class ReplaceOldStatusFieldsWithNew < ActiveRecord::Migration[8.1]
def change
change_table :task_statuses, bulk: true do |t|
t.string :icon
t.string :color
t.integer :position, default: 0
t.remove :category, type: :integer
end
end
end