12 lines
229 B
Ruby
12 lines
229 B
Ruby
class CreateIngredients < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :ingredients do |t|
|
|
t.string :name
|
|
t.string :i_type
|
|
t.boolean :public, :default => true
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|