increase payload size from 10kb to 512kb for capture endpoint

This commit is contained in:
Ruben Fiszel
2023-05-16 16:10:10 +02:00
parent d0c766bc7e
commit 5e472b6911
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1 @@
-- Add down migration script here

View File

@@ -0,0 +1,3 @@
-- Add up migration script here
alter table capture DROP constraint capture_payload_check;
alter table capture add constraint caputre_payload_too_big check (length(payload::text) < 512 * 1024);