🎉 Add better error reporting.

This commit is contained in:
Andrey Antukh 2021-01-24 16:04:23 +01:00 committed by Alonso Torres
parent 1b70283c3a
commit 04b0cf6330
10 changed files with 333 additions and 77 deletions

View file

@ -0,0 +1,10 @@
CREATE TABLE server_error_report (
id uuid NOT NULL,
created_at timestamptz NOT NULL DEFAULT clock_timestamp(),
content jsonb,
PRIMARY KEY (id, created_at)
);
ALTER TABLE server_error_report
ALTER COLUMN content SET STORAGE external;