Create model for ratings

This commit is contained in:
ricola 2025-04-06 17:04:31 -06:00
parent 6682c8c300
commit 4b5685124c
4 changed files with 44 additions and 2 deletions

View file

@ -0,0 +1,10 @@
class CreateRatings < ActiveRecord::Migration[7.2]
def change
create_table :ratings do |t|
t.belongs_to :user
t.belongs_to :candidate
t.integer :value
t.timestamps
end
end
end