Created ingredients controller
command: rails generate redmine_plugin_controller body_tracking ingredients index create destroy
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user