demarches-normaliennes/db/migrate/20150626081655_create_dossier_pdfs.rb
2015-08-10 11:05:06 +02:00

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