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