1
0

Added ingredient index and form

This commit is contained in:
cryptogopher
2019-09-13 14:48:43 +02:00
parent c916e7fd3c
commit c82f903360
9 changed files with 77 additions and 22 deletions

View File

@@ -22,9 +22,9 @@ class CreateUnits < ActiveRecord::Migration
t.string :name
t.decimal :ref_amount
t.references :ref_unit
t.boolean :hidden
t.references :source
t.integer :group
t.references :source
t.boolean :hidden
end
create_table :nutrients do |t|