* 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
11 lines
426 B
SQL
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
|
|
); |