Add missing migrations
This commit is contained in:
parent
a2e41bdc2d
commit
d81c2b2ccf
3 changed files with 18 additions and 0 deletions
5
db/migrate/20250322172051_add_vote_to_ratings.rb
Normal file
5
db/migrate/20250322172051_add_vote_to_ratings.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddVoteToRatings < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_reference :ratings, :vote, null: false, foreign_key: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue