db(migration): add procedure_id to bulk_messages

This commit is contained in:
Eric Leroy-Terquem 2024-02-27 18:01:43 +01:00
parent efa19926e4
commit 1f0e2030be
3 changed files with 8 additions and 1 deletions

View file

@ -1,4 +1,5 @@
class BulkMessage < ApplicationRecord
belongs_to :instructeur
belongs_to :procedure
has_and_belongs_to_many :groupe_instructeurs, -> { order(:label) }
end