demarches-normaliennes/db/migrate/20180808142237_create_feedbacks.rb
2018-08-09 11:41:26 +02:00

10 lines
205 B
Ruby

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