blob: 70bfc28d20cff5574a0d5aac22afa31bc8d35631 (
plain) (
tree)
|
|
# == 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
#
class DestructingStatus < ApplicationRecord
belongs_to :status, inverse_of: :destruct
validates :status_id, uniqueness: true
end
|