Files
Brooke Kuhlmann f55d3086ed Added device sensor relation
Necessary to define the database relation that'll soon be used by the repository.

Milestone: minor
2026-02-23 15:33:39 -07:00

13 lines
273 B
Ruby

# frozen_string_literal: true
module Terminus
module Relations
# The device sensor relation.
class DeviceSensor < DB::Relation
schema :device_sensor, infer: true do
associations { belongs_to :device, relation: :device }
end
end
end
end