Skip to content

Commit

Permalink
Annotate detections model
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-bernhardt committed Sep 18, 2024
1 parent 49af76e commit 4031e29
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/models/detection.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# frozen_string_literal: true

# == Schema Information
#
# Table name: detections
#
# id :integer not null, primary key
# term_id :integer not null
# detector_id :integer not null
# detector_version :string
# confidence :float
# created_at :datetime not null
# updated_at :datetime not null
#
class Detection < ApplicationRecord
belongs_to :term
belongs_to :detector
Expand Down

0 comments on commit 4031e29

Please sign in to comment.