create dossier_labels

This commit is contained in:
Lisa Durand 2024-09-25 16:03:58 +02:00
parent 96cfb6cc43
commit 2006dd283f
No known key found for this signature in database
GPG key ID: 0DF91F2CA1E8B816
5 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,12 @@
# frozen_string_literal: true
class CreateDossierLabels < ActiveRecord::Migration[7.0]
def change
create_table :dossier_labels do |t|
t.references :dossier, null: false, foreign_key: true
t.references :procedure_label, null: false, foreign_key: true
t.timestamps
end
end
end