11 lines
205 B
Ruby
11 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
|