# == Schema Information # # Table name: publishing_delays # # id :bigint(8) not null, primary key # status_id :bigint(8) not null # after :datetime # class PublishingDelay < ApplicationRecord belongs_to :status, inverse_of: :destruct validates :status_id, uniqueness: true end