debian-mirror-gitlab/app/models/projects/wiki_repository.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
333 B
Ruby
Raw Normal View History

2023-01-13 00:05:48 +05:30
# frozen_string_literal: true
module Projects
class WikiRepository < ApplicationRecord
self.table_name = :project_wiki_repositories
belongs_to :project, inverse_of: :wiki_repository
validates :project, presence: true, uniqueness: true
end
end
Projects::WikiRepository.prepend_mod_with('Projects::WikiRepository')