app/models/unidom/action/state_transition.rb in unidom-action-0.1 vs app/models/unidom/action/state_transition.rb in unidom-action-0.2
- old
+ new
@@ -6,9 +6,11 @@
self.table_name = 'unidom_state_transitions'
include Unidom::Common::Concerns::ModelExtension
- belongs_to :subject, polymorphic: true
- belongs_to :reason, class_name: 'Unidom::Action::Reason'
+ belongs_to :transitor_visitor, polymorphic: true
+ belongs_to :transitor_party, polymorphic: true
+ belongs_to :subject, polymorphic: true
+ belongs_to :reason, class_name: 'Unidom::Action::Reason'
end