* TP-52454| created zenduty integration * TP-52454| added migration script for external team table * TP-52454| added extra logs * TP-52454| modified logs * TP-52454|added extra logs * TP-52454| changed post url for zenduty * TP-52454| fixed bugs in zenduty client * TP-52454| created constants for environmental varibales * TP-52454| enabled zenduty if severity is less than or equal to the defined config
15 lines
664 B
SQL
15 lines
664 B
SQL
CREATE TABLE IF NOT EXISTS external_team
|
|
(
|
|
id SERIAL PRIMARY KEY,
|
|
external_team_id character varying,
|
|
external_team_name character varying(100) NOT NULL,
|
|
metadata jsonb,
|
|
provider_name character varying(50) NOT NULL,
|
|
team_id INTEGER NOT NULL REFERENCES team (id),
|
|
is_active BOOLEAN DEFAULT true,
|
|
created_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
|
updated_at timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
|
|
created_by character varying(100),
|
|
updated_by character varying(100)
|
|
);
|