demarches-normaliennes/db/migrate/20170425100757_create_avis.rb

14 lines
260 B
Ruby
Raw Normal View History

2017-04-25 12:09:11 +02:00
class CreateAvis < ActiveRecord::Migration[5.0]
def change
create_table :avis do |t|
t.string :email
t.text :introduction
t.text :answer
t.references :gestionnaire
t.references :dossier
t.timestamps
end
end
end