demarches-normaliennes/db/migrate/20170601123221_create_attestations.rb
2017-06-16 12:11:09 +02:00

11 lines
247 B
Ruby

class CreateAttestations < ActiveRecord::Migration[5.0]
def change
create_table :attestations do |t|
t.string :pdf
t.string :title
t.references :dossier, foreign_key: true, null: false
t.timestamps
end
end
end