1
0

Created ingredients controller

command: rails generate redmine_plugin_controller body_tracking
ingredients index create destroy
This commit is contained in:
cryptogopher
2019-09-13 14:03:39 +02:00
parent 7062652d0d
commit c916e7fd3c
10 changed files with 80 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class CreateUnits < ActiveRecord::Migration
end
create_table :ingredients do |t|
t.references :project
t.string :name
t.decimal :ref_amount
t.references :ref_unit