9 lines
216 B
Ruby
9 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
|