8 lines
216 B
Ruby
8 lines
216 B
Ruby
class CreateDossierPdfs < ActiveRecord::Migration
|
|
def change
|
|
create_table :dossier_pdfs do |t|
|
|
t.string :ref_dossier_pdf
|
|
end
|
|
add_reference :dossier_pdfs, :dossier, references: :dossiers
|
|
end
|
|
end
|