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

- old
+ new

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