mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
11 lines
183 B
Ruby
11 lines
183 B
Ruby
class CreateRatings < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :ratings do |t|
|
|
t.integer :score
|
|
t.integer :beer_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|