Files
houston-be/db/migration/000030_add_request_status_table.up.sql
Vijay Joshi 288a7f8457 INFRA-3664 : Make get users in conversation api more performant, add api to sync incident users, module to track request statuses and remove old add incident-user api (#451)
* INFRA-3664 : Make get users in conversation api more performant

* INFRA-3664 : Add apis for incident user sync and get users in incident performance improvements

* INFRA-3664 : Self review

* INFRA-3664 : Add migration script

* INFRA-3664 : Review comments

* INFRA-3664 : Constant chanes

* INFRA-3664 : Add rate limit constants

* INFRA-3664 : Add rate limit constants

* INFRA-3664 : Fix failing tests

* INFRA-3664 : Add UT's
2024-08-29 11:52:56 +05:30

8 lines
213 B
SQL

CREATE TABLE IF NOT EXISTS request_status (
id SERIAL PRIMARY KEY,
request_id UUID DEFAULT gen_random_uuid(),
request_type VARCHAR(255) NOT NULL,
status VARCHAR(255) NOT NULL,
message JSONB
);