demarches-normaliennes/db/migrate/20161110082244_add_champ_id_to_commentaires.rb
2016-11-15 18:36:20 +01:00

7 lines
177 B
Ruby

class AddChampIdToCommentaires < ActiveRecord::Migration
def change
change_table :commentaires do |t|
t.references :champ, null: true, index: true
end
end
end