feat(api): 统一官方兼容接口响应协议 #24
@@ -3,8 +3,8 @@ ALTER TABLE gateway_tasks
|
|||||||
ADD COLUMN IF NOT EXISTS compatibility_public_id text,
|
ADD COLUMN IF NOT EXISTS compatibility_public_id text,
|
||||||
ADD COLUMN IF NOT EXISTS compatibility_source_protocol text,
|
ADD COLUMN IF NOT EXISTS compatibility_source_protocol text,
|
||||||
ADD COLUMN IF NOT EXISTS compatibility_submit_http_status integer,
|
ADD COLUMN IF NOT EXISTS compatibility_submit_http_status integer,
|
||||||
ADD COLUMN IF NOT EXISTS compatibility_submit_headers jsonb NOT NULL DEFAULT '{}'::jsonb,
|
ADD COLUMN IF NOT EXISTS compatibility_submit_headers jsonb,
|
||||||
ADD COLUMN IF NOT EXISTS compatibility_submit_body jsonb NOT NULL DEFAULT '{}'::jsonb;
|
ADD COLUMN IF NOT EXISTS compatibility_submit_body jsonb;
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS gateway_tasks_compatibility_public_id_unique
|
CREATE UNIQUE INDEX IF NOT EXISTS gateway_tasks_compatibility_public_id_unique
|
||||||
ON gateway_tasks (compatibility_protocol, compatibility_public_id)
|
ON gateway_tasks (compatibility_protocol, compatibility_public_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user