mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
12 lines
202 B
Ruby
12 lines
202 B
Ruby
class CreateBeers < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :beers do |t|
|
|
t.string :name
|
|
t.string :style
|
|
t.integer :brewery_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|