class Repository < ApplicationRecord self.inheritance_column = nil # FIX The single-table inheritance mechanism failed belongs_to :project validates :identifier, presence: true, uniqueness: true end