debian-mirror-gitlab/app/models/ci/pipeline_chat_data.rb

16 lines
342 B
Ruby
Raw Normal View History

2019-07-07 11:18:12 +05:30
# frozen_string_literal: true
module Ci
2021-10-27 15:23:28 +05:30
class PipelineChatData < Ci::ApplicationRecord
include Ci::NamespacedModelName
2019-07-07 11:18:12 +05:30
self.table_name = 'ci_pipeline_chat_data'
belongs_to :chat_name
validates :pipeline_id, presence: true
validates :chat_name_id, presence: true
validates :response_url, presence: true
end
end