1
0

Added measurement, readout and readout_value models

commands:
rails generate redmine_plugin_model body_tracking measurement
name:string hidden:boolean source:references
rails generate redmine_plugin_model body_tracking readout
measurement:references quantity:references unit:references
rails generate redmine_plugin_model body_tracking readout_value
readout:references value:decimal taken_at:timestamp
This commit is contained in:
cryptogopher
2019-11-15 21:52:12 +01:00
parent b617043dd5
commit 687269062c
9 changed files with 65 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
class Measurement < ActiveRecord::Base
end

2
app/models/readout.rb Normal file
View File

@@ -0,0 +1,2 @@
class Readout < ActiveRecord::Base
end

View File

@@ -0,0 +1,2 @@
class ReadoutValue < ActiveRecord::Base
end