debian-mirror-gitlab/app/models/merge_request/predictions.rb

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

8 lines
299 B
Ruby
Raw Normal View History

2022-10-11 01:57:18 +05:30
# frozen_string_literal: true
class MergeRequest::Predictions < ApplicationRecord # rubocop:disable Style/ClassAndModuleChildren
belongs_to :merge_request, inverse_of: :predictions
validates :suggested_reviewers, json_schema: { filename: 'merge_request_predictions_suggested_reviewers' }
end