Commit 1d759186 by liyijie

remove transition, do not destroy output_places

parent 57f8e6c9
......@@ -10,7 +10,7 @@ module WorkflowCore
has_many :input_places, dependent: :nullify,
foreign_key: "output_transition_id", class_name: "WorkflowCore::Place"
has_many :output_places, dependent: :destroy,
has_many :output_places, dependent: :nullify,
foreign_key: "input_transition_id", class_name: "WorkflowCore::Place"
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment