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

class NormalizedStatus < ApplicationRecord
  belongs_to :status, inverse_of: :normalized_status
  validates_uniqueness_of :status_id
end