Link Dossier and GroupeInstructeur

This commit is contained in:
simon lehericey 2019-08-22 17:58:31 +02:00
parent 940813a3ab
commit 3cc8f0c792
12 changed files with 44 additions and 31 deletions

View file

@ -0,0 +1,5 @@
class AddGroupeInstructeurIdColumnToDossier < ActiveRecord::Migration[5.2]
def change
add_reference :dossiers, :groupe_instructeur, foreign_key: true
end
end