app/models/tramway/partner/partnership.rb in tramway-partner-1.0.4 vs app/models/tramway/partner/partnership.rb in tramway-partner-1.0.4.1

- old
+ new

@@ -1,7 +1,7 @@ # frozen_string_literal: true -class Tramway::Partner::Partnership < ::Tramway::Core::ApplicationRecord +class Tramway::Partner::Partnership < ::Tramway::ApplicationRecord belongs_to :organization, class_name: 'Tramway::Partner::Organization' belongs_to :partner, polymorphic: true enumerize :partnership_type, in: %i[organizator program support info customer], default: :organizator enumerize :partner_type, in: ['Tramway::Event::Event', 'Tramway::Conference::Unity']