store arbitrary json blobs in postgres over http

init.sql 215B

1234567891011
  1. DROP TABLE log;
  2. CREATE TABLE IF NOT EXISTS
  3. log (
  4. log_id SERIAL,
  5. log_time timestamp DEFAULT CURRENT_TIMESTAMP,
  6. namespace varchar(256) NULL,
  7. level int NOT NULL DEFAULT 0,
  8. payload json NOT NULL
  9. );