Workflow enhancement: editable and required fields configurable by role, tracker and status (#703, #3521).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
54d55a360a
commit
d7b669e50b
35 files changed
+1405
-431
No files matched your search
@@ -0,0 +1,9 @@
|
||||
class AddWorkflowsType < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :workflows, :type, :string, :limit => 30
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :workflows, :type
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
class UpdateWorkflowsToSti < ActiveRecord::Migration
|
||||
def up
|
||||
WorkflowRule.update_all "type = 'WorkflowTransition'"
|
||||
end
|
||||
|
||||
def down
|
||||
WorkflowRule.update_all "type = NULL"
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,11 @@
|
||||
class AddWorkflowsRuleFields < ActiveRecord::Migration
|
||||
def up
|
||||
add_column :workflows, :field_name, :string, :limit => 30
|
||||
add_column :workflows, :rule, :string, :limit => 30
|
||||
end
|
||||
|
||||
def down
|
||||
remove_column :workflows, :field_name
|
||||
remove_column :workflows, :rule
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user