class GithubRepository < ApplicationRecord belongs_to :software validates :name, presence: true, uniqueness: true validates :software_id, presence: true, uniqueness: true end