demarches-normaliennes/db/migrate/20180808142237_create_feedbacks.rb

11 lines
205 B
Ruby
Raw Normal View History

2018-08-08 17:37:41 +02:00
class CreateFeedbacks < ActiveRecord::Migration[5.2]
def change
create_table :feedbacks do |t|
t.references :user, foreign_key: true
t.integer :mark
t.timestamps
end
end
end