about summary refs log tree commit diff
path: root/app/models/imported_status.rb
blob: 038301f3e723a4ba36a2961d5a7b83a4b589d5a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# == Schema Information
#
# Table name: imported_statuses
#
#  id        :bigint(8)        not null, primary key
#  status_id :bigint(8)
#  origin    :string
#

class ImportedStatus < ApplicationRecord
  belongs_to :status, inverse_of: :imported_status
  validates_uniqueness_of :status_id
end