# == Schema Information # # Table name: destructing_statuses # # id :bigint(8) not null, primary key # status_id :bigint(8) not null # after :datetime not null # defederate_only :boolean default(FALSE), not null # account_id :bigint(8) not null # class DestructingStatus < ApplicationRecord belongs_to :status, inverse_of: :destruct belongs_to :account, inverse_of: :destructing_statuses validates :status_id, uniqueness: true end