From 2d19b1adef1fd880c3d49f307ff8d5317d31d94a Mon Sep 17 00:00:00 2001 From: James Fargher Date: Wed, 20 Feb 2019 21:29:48 +0000 Subject: Move ChatOps to Core ChatOps used to be in the Ultimate tier. --- app/models/ci/pipeline_chat_data.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/models/ci/pipeline_chat_data.rb (limited to 'app/models/ci/pipeline_chat_data.rb') diff --git a/app/models/ci/pipeline_chat_data.rb b/app/models/ci/pipeline_chat_data.rb new file mode 100644 index 00000000000..8d37500fec5 --- /dev/null +++ b/app/models/ci/pipeline_chat_data.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Ci + class PipelineChatData < ActiveRecord::Base + 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 -- cgit v1.2.3