Untie statuses from the project directly (tie to workflows)

This commit is contained in:
2026-03-21 15:35:09 +02:00
parent 218e8a750e
commit eb9f3e982c
10 changed files with 31 additions and 17 deletions
@@ -0,0 +1,9 @@
class ChangeTaskStatusesUniqueness < ActiveRecord::Migration[8.1]
def change
change_table :task_statuses, bulk: true do |t|
t.remove_index %i[project_id name], unique: true
t.remove_index %i[project_id category name]
t.index %i[workflow_id name], unique: true
end
end
end