demarches-normaliennes/db/migrate/20161110082244_add_champ_id_to_commentaires.rb

8 lines
177 B
Ruby
Raw Normal View History

2016-11-14 18:00:26 +01:00
class AddChampIdToCommentaires < ActiveRecord::Migration
def change
change_table :commentaires do |t|
t.references :champ, null: true, index: true
end
end
end