OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
remove uniqueness for participant
Klaus Zandersfe9dedaea44c
diff --git a/modules/meeting/app/models/meeting_participant.rb b/modules/meeting/app/models/meeting_participant.rbindex 65c47752aa5..7cfac0b3ce0 100644--- a/modules/meeting/app/models/meeting_participant.rb+++ b/modules/meeting/app/models/meeting_participant.rb@@ -32,8 +32,6 @@ class MeetingParticipant < ApplicationRecordbelongs_to :meetingbelongs_to :user- validates :user, presence: true, uniqueness: { scope: :meeting_id }-scope :invited, -> { where(invited: true) }scope :attended, -> { where(attended: true) }diff --git a/modules/meeting/db/migrate/20250821092618_add_indices_to_meeting_participants.rb b/modules/meeting/db/migrate/20250821092618_add_indices_to_meeting_participants.rbindex e8545c62919..00d0d30f2c4 100644--- a/modules/meeting/db/migrate/20250821092618_add_indices_to_meeting_participants.rb+++ b/modules/meeting/db/migrate/20250821092618_add_indices_to_meeting_participants.rb@@ -6,7 +6,5 @@ class AddIndicesToMeetingParticipants < ActiveRecord::Migration[8.0]def changeadd_index :meeting_participants, :meeting_id, algorithm: :concurrentlyadd_index :meeting_participants, :user_id, algorithm: :concurrently-- add_index :meeting_participants, %i[meeting_id user_id], unique: true, algorithm: :concurrentlyendend