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:
2
app/models/measurement.rb
Normal file
2
app/models/measurement.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class Measurement < ActiveRecord::Base
|
||||
end
|
||||
2
app/models/readout.rb
Normal file
2
app/models/readout.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class Readout < ActiveRecord::Base
|
||||
end
|
||||
2
app/models/readout_value.rb
Normal file
2
app/models/readout_value.rb
Normal file
@@ -0,0 +1,2 @@
|
||||
class ReadoutValue < ActiveRecord::Base
|
||||
end
|
||||
Reference in New Issue
Block a user