mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
Refactor usage body capture and stream terminal reporting
This commit is contained in:
@@ -35,6 +35,10 @@ CREATE TABLE IF NOT EXISTS public.usage_http_audits (
|
||||
provider_request_body_ref character varying(160),
|
||||
response_body_ref character varying(160),
|
||||
client_response_body_ref character varying(160),
|
||||
request_body_state character varying(32),
|
||||
provider_request_body_state character varying(32),
|
||||
response_body_state character varying(32),
|
||||
client_response_body_state character varying(32),
|
||||
body_capture_mode character varying(32) DEFAULT 'none' NOT NULL,
|
||||
created_at timestamp with time zone DEFAULT now() NOT NULL,
|
||||
updated_at timestamp with time zone DEFAULT now() NOT NULL,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE public.usage_http_audits
|
||||
ADD COLUMN IF NOT EXISTS request_body_state character varying(32),
|
||||
ADD COLUMN IF NOT EXISTS provider_request_body_state character varying(32),
|
||||
ADD COLUMN IF NOT EXISTS response_body_state character varying(32),
|
||||
ADD COLUMN IF NOT EXISTS client_response_body_state character varying(32);
|
||||
Reference in New Issue
Block a user