fixup! los sensores tienen lecturas
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2022-06-11 14:50:12 -03:00
parent d16947d1ba
commit 1f8f75d749

View file

@ -2,6 +2,7 @@
class Sensor < ApplicationRecord
belongs_to :arduino
belongs_to :reading
validates_presence_of :local_type, :value, :unit
end