Untie statuses from the project directly (tie to workflows)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user