Files
houston-be/db/migration/000007_add_rca_input_schema.up.sql
Gullipalli Chetan Kumar 2dd4d710e5 TP-47360 : Created service for uploading slack conversations to s3 and send request to maverick for generating RCA (#290)
* TP-47360| created services to upload slack conversation to cloud and send urls to generate RCA

* created rca input repository

* TP-47360| enabled generating rca service on resolution

* resolved merge conflicts

* TP-47360| added migration script for creating rca input table

* changed json response structure according to contract

* added unit tests

* removed api to make gen ai call

* made changes in message format posted in slack

* changed entity struct and adding flag to enable rca generation

* attaching title, description and replies related to incident status block

* made design changes in message format
2023-11-24 14:39:34 +05:30

11 lines
426 B
SQL

CREATE TABLE IF NOT EXISTS rca_input (
id SERIAL PRIMARY KEY,
incident_id integer NOT NULL REFERENCES incident(id),
document_type character varying(100),
identifier_keys text[] DEFAULT '{}'::text[],
provider_name character varying(100),
is_active boolean DEFAULT true,
created_at timestamp without time zone,
updated_at timestamp without time zone,
deleted_at timestamp without time zone
);