Soc/db/migrate/20231229112620_create_foods.rb

10 lines
163 B
Ruby
Raw Normal View History

2023-12-29 11:27:45 +00:00
class CreateFoods < ActiveRecord::Migration[7.1]
def change
create_table :foods do |t|
t.text :name, null: false
t.timestamps
end
end
end