Features:
- Custom workflow creation per project/tracker
- Step-by-step workflow definition
- Assignees per step (user, role group, department)
- Next/Previous step navigation
- Reject to first step
- Skip step (admin only)
- Step deadline settings
- Workflow dashboard
- Group member selection when proceeding
🤖 Generated with Claude Code
18 lines
486 B
Ruby
18 lines
486 B
Ruby
class CreateCustomWorkflows < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :custom_workflows do |t|
|
|
t.string :name, null: false
|
|
t.text :description
|
|
t.integer :tracker_id
|
|
t.integer :project_id
|
|
t.boolean :is_default, default: false
|
|
t.boolean :active, default: true
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :custom_workflows, :tracker_id
|
|
add_index :custom_workflows, :project_id
|
|
add_index :custom_workflows, :is_default
|
|
end
|
|
end
|